diff options
| author | Dmitry Gutov | 2015-10-29 03:00:50 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2015-10-29 03:01:45 +0200 |
| commit | ffa41ad2a02dbd1202d71a08bac34831f25662d0 (patch) | |
| tree | 04ff5e2f725343b20dea97e63b4e002e0e88f956 /doc | |
| parent | 42eb249ebd48b8df80357be41364b23a7af4fcf0 (diff) | |
| download | emacs-ffa41ad2a02dbd1202d71a08bac34831f25662d0.tar.gz emacs-ffa41ad2a02dbd1202d71a08bac34831f25662d0.zip | |
Don't require default-directory to end with a slash
* doc/lispref/files.texi (Magic File Names): Document the change
in unhandled-file-name-directory.
* lisp/url/url-handlers.el
(url-handler-unhandled-file-name-directory): Update accordingly.
* src/buffer.c (default-directory): Update the docsting.
* src/fileio.c (unhandled-file-name-directory): Default to calling
`file-name-as-directory'
(http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/files.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 65a97a46699..60834338423 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -3082,7 +3082,7 @@ making connections when they don't exist. | |||
| 3082 | 3082 | ||
| 3083 | @defun unhandled-file-name-directory filename | 3083 | @defun unhandled-file-name-directory filename |
| 3084 | This function returns the name of a directory that is not magic. It | 3084 | This function returns the name of a directory that is not magic. It |
| 3085 | uses the directory part of @var{filename} if that is not magic. For a | 3085 | turns @var{filename} into a directory name if that is not magic. For a |
| 3086 | magic file name, it invokes the file name handler, which therefore | 3086 | magic file name, it invokes the file name handler, which therefore |
| 3087 | decides what value to return. If @var{filename} is not accessible | 3087 | decides what value to return. If @var{filename} is not accessible |
| 3088 | from a local process, then the file name handler should indicate it by | 3088 | from a local process, then the file name handler should indicate it by |