]> git.eshelyaron.com Git - emacs.git/commitdiff
default-directory: Remark that it must be a directory name
authorTino Calancha <tino.calancha@gmail.com>
Fri, 31 Mar 2017 08:23:02 +0000 (17:23 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 31 Mar 2017 08:23:02 +0000 (17:23 +0900)
* src/buffer.c (default-directory): Update docstring (Bug#26272).

src/buffer.c

index c1c53dd22077574a5591a5f0ee4b75e82f3240ad..8ef27dee0f3d7b93d57195bd926c15fa5366b170 100644 (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,