diff options
| author | Lars Ingebrigtsen | 2018-04-14 00:08:26 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2018-04-14 00:08:26 +0200 |
| commit | e442879b5a963a6eb37403fe09f476e7ee8e0f55 (patch) | |
| tree | 437d2e5fa91a7004d999361a9ce5af0f2968de3b /etc | |
| parent | 4575ae5a9c5589ac903362486951f0d36c8ff8ee (diff) | |
| download | emacs-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/NEWS | 10 |
1 files changed, 9 insertions, 1 deletions
| @@ -540,7 +540,15 @@ For instance, if /etc/mailcap has an entry for image/gif, that one | |||
| 540 | will be chosen even if you have an entry for image/* in your | 540 | will 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 |
| 542 | overrides all system and Emacs-provided defaults. To get the old | 542 | overrides all system and Emacs-provided defaults. To get the old |
| 543 | method back, set `mailcap-prefer-mailcap-viewers' to nil | 543 | method 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 | ||
| 549 | you ask it for a file:///dir URL. Since this is a low-level library, | ||
| 550 | such decisions (if they are to be made at all) are left to | ||
| 551 | higher-level functions. | ||
| 544 | 552 | ||
| 545 | 553 | ||
| 546 | +++ | 554 | +++ |