emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 527bf16: Improve doc string.


From: Karl Fogel
Subject: [Emacs-diffs] master 527bf16: Improve doc string.
Date: Tue, 16 Aug 2016 20:25:57 +0000 (UTC)

branch: master
commit 527bf164bb56d67115ff7fda97c565ee8b0e569f
Author: Karl Fogel <address@hidden>
Commit: Karl Fogel <address@hidden>

    Improve doc string.
    
    * src/fileio.c (Ffile_name_as_directory): Be precise about the
    conditions under which a slash is appended.
---
 src/fileio.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/fileio.c b/src/fileio.c
index 66ea761..37948bc 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -508,7 +508,8 @@ This operation exists because a directory is also a file, 
but its name as
 a directory is different from its name as a file.
 The result can be used as the value of `default-directory'
 or passed as second argument to `expand-file-name'.
-For a Unix-syntax file name, just appends a slash.  */)
+For a Unix-syntax file name, just appends a slash unless a trailing slash
+is already present.  */)
   (Lisp_Object file)
 {
   char *buf;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]