Mercurial > emacs
diff src/fileio.c @ 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 | 25ce072b5bd9 |
children | 40af77a50adc 376148b31b5e |
line wrap: on
line diff
--- 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