aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorDmitry Gutov2015-10-29 03:00:50 +0200
committerDmitry Gutov2015-10-29 03:01:45 +0200
commitffa41ad2a02dbd1202d71a08bac34831f25662d0 (patch)
tree04ff5e2f725343b20dea97e63b4e002e0e88f956 /src/buffer.c
parent42eb249ebd48b8df80357be41364b23a7af4fcf0 (diff)
downloademacs-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 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 380a7af33c1..91e42dca2bf 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5739,7 +5739,7 @@ visual lines rather than logical lines. See the documentation of
5739 5739
5740 DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), 5740 DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory),
5741 Qstringp, 5741 Qstringp,
5742 doc: /* Name of default directory of current buffer. Should end with slash. 5742 doc: /* Name of default directory of current buffer.
5743To interactively change the default directory, use command `cd'. */); 5743To interactively change the default directory, use command `cd'. */);
5744 5744
5745 DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function), 5745 DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function),