From: Xue Fuqiao Date: Wed, 12 Jun 2013 01:12:59 +0000 (+0800) Subject: * src/fileio.c (expand_file_name): Doc fix. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2016^2~145^2~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d177e21300d9ff79ac1a293e69104c6948bad361;p=emacs.git * src/fileio.c (expand_file_name): Doc fix. --- diff --git a/src/ChangeLog b/src/ChangeLog index b178f1130e0..38eb460359c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-06-12 Xue Fuqiao + + * fileio.c (expand_file_name): Doc fix. + 2013-06-11 Paul Eggert Tickle glib by waiting for Emacs itself, not for process 0 (Bug#14569). diff --git a/src/fileio.c b/src/fileio.c index 75e1f13a09b..ce5d4854fee 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -776,8 +776,9 @@ probably use `make-temp-file' instead, except in three circumstances: DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, doc: /* Convert filename NAME to absolute, and canonicalize it. Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative -\(does not start with slash or tilde); if DEFAULT-DIRECTORY is nil or missing, -the current buffer's value of `default-directory' is used. +\(does not start with slash or tilde); both the directory name and +a directory's file name are accepted. If DEFAULT-DIRECTORY is nil or +missing, the current buffer's value of `default-directory' is used. NAME should be a string that is a valid file name for the underlying filesystem. File name components that are `.' are removed, and