diff options
| -rw-r--r-- | lispref/files.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lispref/files.texi b/lispref/files.texi index f357b1f3814..e2bc57c5567 100644 --- a/lispref/files.texi +++ b/lispref/files.texi | |||
| @@ -1990,6 +1990,19 @@ canonical form: | |||
| 1990 | @end group | 1990 | @end group |
| 1991 | @end example | 1991 | @end example |
| 1992 | 1992 | ||
| 1993 | In some cases, a leading @samp{..} can remain in the output: | ||
| 1994 | |||
| 1995 | @example | ||
| 1996 | @group | ||
| 1997 | (expand-file-name "../home" "/") | ||
| 1998 | @result{} "/../home" | ||
| 1999 | @end group | ||
| 2000 | @end example | ||
| 2001 | |||
| 2002 | This is for use with filesystems that have the concept of a | ||
| 2003 | ``superroot'' above the root directory @file{/}. On other filesystems, | ||
| 2004 | @file{/../} is interpreted exactly the same as @file{/}. | ||
| 2005 | |||
| 1993 | Note that @code{expand-file-name} does @emph{not} expand environment | 2006 | Note that @code{expand-file-name} does @emph{not} expand environment |
| 1994 | variables; only @code{substitute-in-file-name} does that. | 2007 | variables; only @code{substitute-in-file-name} does that. |
| 1995 | 2008 | ||