aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2009-10-07 10:20:04 +0000
committerEli Zaretskii2009-10-07 10:20:04 +0000
commit6185de1cfb8cf884a3dacdc952835d5c0cf833f1 (patch)
treea2a602ce1487a0ead5e5000c8090a0074ee699b5
parent11be40a6f4fa5b1fc128349c3061e62d33020fba (diff)
downloademacs-6185de1cfb8cf884a3dacdc952835d5c0cf833f1.tar.gz
emacs-6185de1cfb8cf884a3dacdc952835d5c0cf833f1.zip
(Directory Names) <abbreviate-file-name>: Document that root home
directories are not replaced with "~".
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/files.texi10
2 files changed, 12 insertions, 3 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 1e4c99aece2..4edc4230664 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12009-10-07 Eli Zaretskii <eliz@gnu.org>
2
3 * files.texi (Directory Names) <abbreviate-file-name>: Document
4 that root home directories are not replaced with "~".
5
12009-10-06 Eli Zaretskii <eliz@gnu.org> 62009-10-06 Eli Zaretskii <eliz@gnu.org>
2 7
3 * text.texi (Special Properties): Document the meaning of the 8 * text.texi (Special Properties): Document the meaning of the
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 46ce7c4e6e2..8f47dfadd6c 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -1957,9 +1957,13 @@ function:
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}
1959This function applies abbreviations from @code{directory-abbrev-alist} 1959This function applies abbreviations from @code{directory-abbrev-alist}
1960to its argument, and substitutes @samp{~} for the user's home 1960to its argument, and also substitutes @samp{~} for the user's home
1961directory. You can use it for directory names and for file names, 1961directory if the argument names a file in the home directory or one of
1962because it recognizes abbreviations even as part of the name. 1962its subdirectories. (If the home directory is a root directory, it is
1963not replaced with @samp{~}, because this does not make the result
1964shorter on many systems.) You can use it for directory names and for
1965file names, because it recognizes abbreviations even as part of the
1966name.
1963@end defun 1967@end defun
1964 1968
1965@node File Name Expansion 1969@node File Name Expansion