aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-10-16 17:59:34 +0000
committerChong Yidong2008-10-16 17:59:34 +0000
commit0711429637bd6a565b72588b8a0e6eacf53b45b4 (patch)
tree25a26ce8a72ff87f659b1ed5f1a28110e8f5fd46 /src
parent721de51dca8eb6f37dec1981bfc0182c8a93a70e (diff)
downloademacs-0711429637bd6a565b72588b8a0e6eacf53b45b4.tar.gz
emacs-0711429637bd6a565b72588b8a0e6eacf53b45b4.zip
(Fexpand_file_name): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c8
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
819file names in the file system. 819file names in the file system.
820An initial `~/' expands to your home directory. 820An initial `~/' expands to your home directory.
821An initial `~USER/' expands to USER's home directory. 821An initial `~USER/' expands to USER's home directory.
822See also the function `substitute-in-file-name'. */) 822See also the function `substitute-in-file-name'.
823
824For technical reasons, this function can return correct but
825non-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
828filesystem 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{