From 84938d79698c1725016e2bc6480d5d73cc769a81 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Fri, 31 Mar 2017 17:23:02 +0900 Subject: [PATCH] default-directory: Remark that it must be a directory name * src/buffer.c (default-directory): Update docstring (Bug#26272). --- src/buffer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.11.4.GIT