aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-04-14 00:08:26 +0200
committerLars Ingebrigtsen2018-04-14 00:08:26 +0200
commite442879b5a963a6eb37403fe09f476e7ee8e0f55 (patch)
tree437d2e5fa91a7004d999361a9ce5af0f2968de3b /etc
parent4575ae5a9c5589ac903362486951f0d36c8ff8ee (diff)
downloademacs-e442879b5a963a6eb37403fe09f476e7ee8e0f55.tar.gz
emacs-e442879b5a963a6eb37403fe09f476e7ee8e0f55.zip
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 'etc')
-rw-r--r--etc/NEWS10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e8383b7c241..d29a513c70c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -540,7 +540,15 @@ For instance, if /etc/mailcap has an entry for image/gif, that one
540will be chosen even if you have an entry for image/* in your 540will be chosen even if you have an entry for image/* in your
541~/.mailcap file. But with the new method, entries from ~/.mailcap 541~/.mailcap file. But with the new method, entries from ~/.mailcap
542overrides all system and Emacs-provided defaults. To get the old 542overrides all system and Emacs-provided defaults. To get the old
543method back, set `mailcap-prefer-mailcap-viewers' to nil 543method back, set `mailcap-prefer-mailcap-viewers' to nil.
544
545
546** URL
547
548*** The file: handler no longer looks for index.html in directories if
549you ask it for a file:///dir URL. Since this is a low-level library,
550such decisions (if they are to be made at all) are left to
551higher-level functions.
544 552
545 553
546+++ 554+++