From: Tino Calancha Date: Fri, 31 Mar 2017 08:23:02 +0000 (+0900) Subject: default-directory: Remark that it must be a directory name X-Git-Tag: emacs-25.2~10 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84938d79698c1725016e2bc6480d5d73cc769a81;p=emacs.git default-directory: Remark that it must be a directory name * src/buffer.c (default-directory): Update docstring (Bug#26272). --- diff --git a/src/buffer.c b/src/buffer.c index c1c53dd2207..8ef27dee0f3 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5754,7 +5754,9 @@ visual lines rather than logical lines. See the documentation of DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), Qstringp, doc: /* Name of default directory of current buffer. -To interactively change the default directory, use command `cd'. */); +It should be a directory name (as opposed to a directory file-name). +On GNU and Unix systems, directory names end in a slash `/'. +To interactively change the default directory, use command `cd'. */); DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function), Qnil,