+2013-06-11 Xue Fuqiao <xfq.free@gmail.com>
+
+ * files.texi (File Name Expansion): Make the example more
+ intuitive.
+
2013-06-10 Paul Eggert <eggert@cs.ucla.edu>
Documentation fix for 'ls' and hard links.
(expand-file-name "foo" "/usr/spool/")
@result{} "/usr/spool/foo"
@end group
-@group
-(expand-file-name "$HOME/foo")
- @result{} "/xcssun/users/rms/lewis/$HOME/foo"
-@end group
@end example
If the part of the combined file name before the first slash is
@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.
+variables; only @code{substitute-in-file-name} does that:
+
+@example
+@group
+(expand-file-name "$HOME/foo")
+ @result{} "/xcssun/users/rms/lewis/$HOME/foo"
+@end group
+@end example
Note also that @code{expand-file-name} does not follow symbolic links
at any level. This results in a difference between the way