aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorKarl Fogel2016-08-16 15:25:52 -0500
committerKarl Fogel2016-08-16 15:25:52 -0500
commit527bf164bb56d67115ff7fda97c565ee8b0e569f (patch)
tree558b103fe00a63ce8a61c7a3005b676450569543 /src/fileio.c
parent4b1b8dd80a287ec5e726e0672d94d5399c09b94c (diff)
downloademacs-527bf164bb56d67115ff7fda97c565ee8b0e569f.tar.gz
emacs-527bf164bb56d67115ff7fda97c565ee8b0e569f.zip
Improve doc string.
* src/fileio.c (Ffile_name_as_directory): Be precise about the conditions under which a slash is appended.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 66ea761ca56..37948bc0ee9 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
508a directory is different from its name as a file. 508a directory is different from its name as a file.
509The result can be used as the value of `default-directory' 509The result can be used as the value of `default-directory'
510or passed as second argument to `expand-file-name'. 510or passed as second argument to `expand-file-name'.
511For a Unix-syntax file name, just appends a slash. */) 511For a Unix-syntax file name, just appends a slash unless a trailing slash
512is already present. */)
512 (Lisp_Object file) 513 (Lisp_Object file)
513{ 514{
514 char *buf; 515 char *buf;