diff options
| author | Xue Fuqiao <xfq.free@gmail.com> | 2013-06-12 09:12:59 +0800 |
|---|---|---|
| committer | Xue Fuqiao <xfq.free@gmail.com> | 2013-06-12 09:12:59 +0800 |
| commit | d177e21300d9ff79ac1a293e69104c6948bad361 (patch) | |
| tree | b077a447e9218cd5a6ed64898ab0efd2bdf3d6c6 | |
| parent | f56be016d5d2d550f98c83a9d4e61468c71738c2 (diff) | |
| download | emacs-d177e21300d9ff79ac1a293e69104c6948bad361.tar.gz | |
* src/fileio.c (expand_file_name): Doc fix.
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fileio.c | 5 |
2 files changed, 7 insertions, 2 deletions
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 <xfq.free@gmail.com> + + * fileio.c (expand_file_name): Doc fix. + 2013-06-11 Paul Eggert <eggert@cs.ucla.edu> 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 |
