1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-09 17:24:04 -08:00

Improve doc string.

* src/fileio.c (Ffile_name_as_directory): Be precise about the
conditions under which a slash is appended.
This commit is contained in:
Karl Fogel 2016-08-16 15:25:52 -05:00
parent 4b1b8dd80a
commit 527bf164bb

View file

@ -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;