diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2017-03-31 17:23:02 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2017-03-31 17:23:02 +0900 |
commit | 84938d79698c1725016e2bc6480d5d73cc769a81 (patch) | |
tree | 3c268adb5a9085a52205b00150810c9d33f87eb2 | |
parent | 3f0d047d2eb1fb59be2ff962c01392d8c808a654 (diff) | |
download | emacs-84938d79698c1725016e2bc6480d5d73cc769a81.tar.gz |
default-directory: Remark that it must be a directory name
* src/buffer.c (default-directory): Update docstring (Bug#26272).
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, |