From 34f23456fc6b4366f516bfee348d6d331c75cfea Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 19 Apr 2007 04:22:13 +0000 Subject: [PATCH] (File Name Expansion): Mention "superroot". --- lispref/files.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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: @end group @end example +In some cases, a leading @samp{..} can remain in the output: + +@example +@group +(expand-file-name "../home" "/") + @result{} "/../home" +@end group +@end example + +This is for use with filesystems that have the concept of a +``superroot'' above the root directory @file{/}. On other filesystems, +@file{/../} 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. -- 2.39.2