(File Name Expansion): Mention "superroot".
This commit is contained in:
parent
45a5ff7dc3
commit
34f23456fc
1 changed files with 13 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue