From d177e21300d9ff79ac1a293e69104c6948bad361 Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Wed, 12 Jun 2013 09:12:59 +0800 Subject: [PATCH] * src/fileio.c (expand_file_name): Doc fix. --- src/ChangeLog | 4 ++++ 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 + + * 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 -- 2.39.2