diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-14 00:08:26 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-14 00:08:26 +0200 |
commit | e442879b5a963a6eb37403fe09f476e7ee8e0f55 (patch) | |
tree | 437d2e5fa91a7004d999361a9ce5af0f2968de3b /doc | |
parent | 4575ae5a9c5589ac903362486951f0d36c8ff8ee (diff) | |
download | emacs-e442879b5a963a6eb37403fe09f476e7ee8e0f55.tar.gz |
Make the url file: handler be less clever
* doc/misc/url.texi (file/ftp): Remove mention of the
url-directory-index-file variable, which is no longer consulted.
* lisp/url/url-file.el (url-file-build-filename): Remove the DWIM
code from the file: handler (bug#30195): It would look for
index.html in a directory if we asked it to fetch the directory.
Determining what to do in a directory should be left up to the
programs that use this low-level library. If the library decides
to load a different file than we specified, then things start
falling apart, as demonstrated by this bug report.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/misc/url.texi | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/misc/url.texi b/doc/misc/url.texi index fb0a55b3c86..8967c71301d 100644 --- a/doc/misc/url.texi +++ b/doc/misc/url.texi @@ -571,11 +571,6 @@ if it has the file suffix @file{.z}, @file{.gz}, @file{.Z}, hard-coded, and cannot be altered by customizing @code{jka-compr-compression-info-list}.) -@defopt url-directory-index-file -This option specifies the filename to look for when a @code{file} or -@code{ftp} URL specifies a directory. The default is -@file{index.html}. If this file exists and is readable, it is viewed. -Otherwise, Emacs visits the directory using Dired. @end defopt @node info |