diff options
| author | Karl Fogel | 2016-08-16 15:25:52 -0500 |
|---|---|---|
| committer | Karl Fogel | 2016-08-16 15:25:52 -0500 |
| commit | 527bf164bb56d67115ff7fda97c565ee8b0e569f (patch) | |
| tree | 558b103fe00a63ce8a61c7a3005b676450569543 /src | |
| parent | 4b1b8dd80a287ec5e726e0672d94d5399c09b94c (diff) | |
| download | emacs-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')
| -rw-r--r-- | src/fileio.c | 3 |
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 | |||
| 508 | a directory is different from its name as a file. | 508 | a directory is different from its name as a file. |
| 509 | The result can be used as the value of `default-directory' | 509 | The result can be used as the value of `default-directory' |
| 510 | or passed as second argument to `expand-file-name'. | 510 | or passed as second argument to `expand-file-name'. |
| 511 | For a Unix-syntax file name, just appends a slash. */) | 511 | For a Unix-syntax file name, just appends a slash unless a trailing slash |
| 512 | is already present. */) | ||
| 512 | (Lisp_Object file) | 513 | (Lisp_Object file) |
| 513 | { | 514 | { |
| 514 | char *buf; | 515 | char *buf; |