aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorStefan Monnier2010-12-13 10:27:36 -0500
committerStefan Monnier2010-12-13 10:27:36 -0500
commitf49d1f52b2e368ef67dcfececd426de958548f4e (patch)
treece24ced92f2acc976daf4b69e3634c8bd600e44e /src/fileio.c
parent07176b2a9e63a0d3933b167f987475d8a18da5cc (diff)
parent11aad4e9f9f54ce8e9ecc66347e512b20a3cdf39 (diff)
downloademacs-f49d1f52b2e368ef67dcfececd426de958548f4e.tar.gz
emacs-f49d1f52b2e368ef67dcfececd426de958548f4e.zip
Merge from emacs-23
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 886e5ebc411..c2b93a6bd8b 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -786,6 +786,9 @@ File name components that are `.' are removed, and
786so are file name components followed by `..', along with the `..' itself; 786so are file name components followed by `..', along with the `..' itself;
787note that these simplifications are done without checking the resulting 787note that these simplifications are done without checking the resulting
788file names in the file system. 788file names in the file system.
789Multiple consecutive slashes are collapsed into a single slash,
790except at the beginning of the file name when they are significant (e.g.,
791UNC file names on MS-Windows.)
789An initial `~/' expands to your home directory. 792An initial `~/' expands to your home directory.
790An initial `~USER/' expands to USER's home directory. 793An initial `~USER/' expands to USER's home directory.
791See also the function `substitute-in-file-name'. 794See also the function `substitute-in-file-name'.
@@ -793,7 +796,7 @@ See also the function `substitute-in-file-name'.
793For technical reasons, this function can return correct but 796For technical reasons, this function can return correct but
794non-intuitive results for the root directory; for instance, 797non-intuitive results for the root directory; for instance,
795\(expand-file-name ".." "/") returns "/..". For this reason, use 798\(expand-file-name ".." "/") returns "/..". For this reason, use
796(directory-file-name (file-name-directory dirname)) to traverse a 799\(directory-file-name (file-name-directory dirname)) to traverse a
797filesystem tree, not (expand-file-name ".." dirname). */) 800filesystem tree, not (expand-file-name ".." dirname). */)
798 (Lisp_Object name, Lisp_Object default_directory) 801 (Lisp_Object name, Lisp_Object default_directory)
799{ 802{