changeset 75127:2b7d896e8aaa

(abbreviate-file-name): Doc fix.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 06 Jan 2007 21:50:14 +0000
parents a952852f412d
children fec6abd17962
files lisp/files.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sat Jan 06 17:30:26 2007 +0000
+++ b/lisp/files.el	Sat Jan 06 21:50:14 2007 +0000
@@ -1289,8 +1289,9 @@
 
 (defun abbreviate-file-name (filename)
   "Return a version of FILENAME shortened using `directory-abbrev-alist'.
-This also substitutes \"~\" for the user's home directory and
-removes automounter prefixes (see the variable `automount-dir-prefix')."
+This also substitutes \"~\" for the user's home directory (unless the
+home directory is a root directory) and removes automounter prefixes
+\(see the variable `automount-dir-prefix')."
   ;; Get rid of the prefixes added by the automounter.
   (save-match-data
     (if (and automount-dir-prefix