From: Eli Zaretskii Date: Sat, 6 Jan 2007 21:51:04 +0000 (+0000) Subject: (abbreviate-file-name): Doc fix. X-Git-Tag: emacs-pretest-22.0.93~221 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe4e58ec6f2e7996e7525cb8d8c53af162ee690a;p=emacs.git (abbreviate-file-name): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1825190c1a..546fe3c969c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2007-01-06 Eli Zaretskii + + * files.el (abbreviate-file-name): Doc fix. + +2007-01-06 Markus Triska + + * subr.el (split-string): Remove spurious ")" from doc string. + 2007-01-05 Takaaki Ota * textmodes/table.el (table--warn-incompatibility): diff --git a/lisp/files.el b/lisp/files.el index 7a9c1b4b9da..80df0d898d3 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1289,8 +1289,9 @@ Choose the buffer's name using `generate-new-buffer-name'." (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