comparison doc/lispref/files.texi @ 105506:29b5ee370673

(Directory Names) <abbreviate-file-name>: Document that root home directories are not replaced with "~".
author Eli Zaretskii <eliz@gnu.org>
date Wed, 07 Oct 2009 10:19:21 +0000
parents c575fd5ee9c2
children c8da8bef4903
comparison
equal deleted inserted replaced
105505:1ac34bb65afa 105506:29b5ee370673
1955 function: 1955 function:
1956 1956
1957 @defun abbreviate-file-name filename 1957 @defun abbreviate-file-name filename
1958 @anchor{Definition of abbreviate-file-name} 1958 @anchor{Definition of abbreviate-file-name}
1959 This function applies abbreviations from @code{directory-abbrev-alist} 1959 This function applies abbreviations from @code{directory-abbrev-alist}
1960 to its argument, and substitutes @samp{~} for the user's home 1960 to its argument, and also substitutes @samp{~} for the user's home
1961 directory. You can use it for directory names and for file names, 1961 directory if the argument names a file in the home directory or one of
1962 because it recognizes abbreviations even as part of the name. 1962 its subdirectories. (If the home directory is a root directory, it is
1963 not replaced with @samp{~}, because this does not make the result
1964 shorter on many systems.) You can use it for directory names and for
1965 file names, because it recognizes abbreviations even as part of the
1966 name.
1963 @end defun 1967 @end defun
1964 1968
1965 @node File Name Expansion 1969 @node File Name Expansion
1966 @subsection Functions that Expand Filenames 1970 @subsection Functions that Expand Filenames
1967 @cindex expansion of file names 1971 @cindex expansion of file names