[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/files.texi,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/files.texi,v |
Date: |
Thu, 19 Apr 2007 04:22:14 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 07/04/19 04:22:13
Index: files.texi
===================================================================
RCS file: /sources/emacs/emacs/lispref/files.texi,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -b -r1.104 -r1.105
--- files.texi 7 Apr 2007 01:54:24 -0000 1.104
+++ files.texi 19 Apr 2007 04:22:13 -0000 1.105
@@ -1990,6 +1990,19 @@
@end group
@end example
+In some cases, a leading @samp{..} can remain in the output:
+
address@hidden
address@hidden
+(expand-file-name "../home" "/")
+ @result{} "/../home"
address@hidden group
address@hidden example
+
+This is for use with filesystems that have the concept of a
+``superroot'' above the root directory @file{/}. On other filesystems,
address@hidden/../} is interpreted exactly the same as @file{/}.
+
Note that @code{expand-file-name} does @emph{not} expand environment
variables; only @code{substitute-in-file-name} does that.