diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fileio.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 249e77d3aa3..97401ffe40a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-12-12 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * fileio.c (Fexpand_file_name): Doc fix. (Bug#7617) | ||
| 4 | |||
| 1 | 2010-12-11 Eli Zaretskii <eliz@gnu.org> | 5 | 2010-12-11 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * w32fns.c (Fx_show_tip): Call try_window with last argument | 7 | * w32fns.c (Fx_show_tip): Call try_window with last argument |
diff --git a/src/fileio.c b/src/fileio.c index 440a726b26b..e330f724142 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -832,6 +832,9 @@ File name components that are `.' are removed, and | |||
| 832 | so are file name components followed by `..', along with the `..' itself; | 832 | so are file name components followed by `..', along with the `..' itself; |
| 833 | note that these simplifications are done without checking the resulting | 833 | note that these simplifications are done without checking the resulting |
| 834 | file names in the file system. | 834 | file names in the file system. |
| 835 | Multiple consecutive slashes are collapsed into a single slash, | ||
| 836 | except at the beginning of the file name when they are significant (e.g., | ||
| 837 | UNC file names on MS-Windows.) | ||
| 835 | An initial `~/' expands to your home directory. | 838 | An initial `~/' expands to your home directory. |
| 836 | An initial `~USER/' expands to USER's home directory. | 839 | An initial `~USER/' expands to USER's home directory. |
| 837 | See also the function `substitute-in-file-name'. | 840 | See also the function `substitute-in-file-name'. |
| @@ -839,7 +842,7 @@ See also the function `substitute-in-file-name'. | |||
| 839 | For technical reasons, this function can return correct but | 842 | For technical reasons, this function can return correct but |
| 840 | non-intuitive results for the root directory; for instance, | 843 | non-intuitive results for the root directory; for instance, |
| 841 | \(expand-file-name ".." "/") returns "/..". For this reason, use | 844 | \(expand-file-name ".." "/") returns "/..". For this reason, use |
| 842 | (directory-file-name (file-name-directory dirname)) to traverse a | 845 | \(directory-file-name (file-name-directory dirname)) to traverse a |
| 843 | filesystem tree, not (expand-file-name ".." dirname). */) | 846 | filesystem tree, not (expand-file-name ".." dirname). */) |
| 844 | (name, default_directory) | 847 | (name, default_directory) |
| 845 | Lisp_Object name, default_directory; | 848 | Lisp_Object name, default_directory; |