Mercurial > emacs
changeset 112047:03c1dc6b7801
Fix bug #7617 with documentation of expand-file-name.
fileio.c (Fexpand_file_name): One more doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 13 Dec 2010 18:13:29 +0200 |
parents | 129f1ae93387 |
children | 916ee043dbcf |
files | src/ChangeLog src/fileio.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Dec 13 17:12:01 2010 +0200 +++ b/src/ChangeLog Mon Dec 13 18:13:29 2010 +0200 @@ -1,3 +1,7 @@ +2010-12-13 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Fexpand_file_name): One more doc fix. + 2010-12-12 Eli Zaretskii <eliz@gnu.org> * fileio.c (Fexpand_file_name): Doc fix. (Bug#7617)
--- a/src/fileio.c Mon Dec 13 17:12:01 2010 +0200 +++ b/src/fileio.c Mon Dec 13 18:13:29 2010 +0200 @@ -828,6 +828,8 @@ 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. +NAME should be a string that is a valid file name for the underlying +filesystem. File name components that are `.' are removed, and so are file name components followed by `..', along with the `..' itself; note that these simplifications are done without checking the resulting