[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 84938d7: default-directory: Remark that it must b
From: |
Tino Calancha |
Subject: |
[Emacs-diffs] emacs-25 84938d7: default-directory: Remark that it must be a directory name |
Date: |
Fri, 31 Mar 2017 04:23:47 -0400 (EDT) |
branch: emacs-25
commit 84938d79698c1725016e2bc6480d5d73cc769a81
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>
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 c1c53dd..8ef27de 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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 84938d7: default-directory: Remark that it must be a directory name,
Tino Calancha <=