diff options
| author | Chong Yidong | 2008-10-16 17:59:34 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-10-16 17:59:34 +0000 |
| commit | 0711429637bd6a565b72588b8a0e6eacf53b45b4 (patch) | |
| tree | 25a26ce8a72ff87f659b1ed5f1a28110e8f5fd46 /src | |
| parent | 721de51dca8eb6f37dec1981bfc0182c8a93a70e (diff) | |
| download | emacs-0711429637bd6a565b72588b8a0e6eacf53b45b4.tar.gz emacs-0711429637bd6a565b72588b8a0e6eacf53b45b4.zip | |
(Fexpand_file_name): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index cf3ec5bc44f..0208b9c618a 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -819,7 +819,13 @@ note that these simplifications are done without checking the resulting | |||
| 819 | file names in the file system. | 819 | file names in the file system. |
| 820 | An initial `~/' expands to your home directory. | 820 | An initial `~/' expands to your home directory. |
| 821 | An initial `~USER/' expands to USER's home directory. | 821 | An initial `~USER/' expands to USER's home directory. |
| 822 | See also the function `substitute-in-file-name'. */) | 822 | See also the function `substitute-in-file-name'. |
| 823 | |||
| 824 | For technical reasons, this function can return correct but | ||
| 825 | non-intuitive results for the root directory; for instance, | ||
| 826 | \(expand-file-name ".." "/") returns "/..". For this reason, use | ||
| 827 | (directory-file-name (file-name-directory dirname)) to traverse a | ||
| 828 | filesystem tree, not (expand-file-name ".." dirname). */) | ||
| 823 | (name, default_directory) | 829 | (name, default_directory) |
| 824 | Lisp_Object name, default_directory; | 830 | Lisp_Object name, default_directory; |
| 825 | { | 831 | { |