default-directory: Remark that it must be a directory name

* src/buffer.c (default-directory): Update docstring (Bug#26272).
This commit is contained in:
Tino Calancha 2017-03-31 17:23:02 +09:00
parent 3f0d047d2e
commit 84938d7969

View file

@ -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,