1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 14:40:54 -08:00

(abbreviate-file-name): Doc fix.

This commit is contained in:
Eli Zaretskii 2007-01-06 21:51:04 +00:00
parent 3dba71a3fb
commit fe4e58ec6f
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2007-01-06 Eli Zaretskii <eliz@gnu.org>
* files.el (abbreviate-file-name): Doc fix.
2007-01-06 Markus Triska <triska@gmx.at>
* subr.el (split-string): Remove spurious ")" from doc string.
2007-01-05 Takaaki Ota <Takaaki.Ota@am.sony.com>
* textmodes/table.el (table--warn-incompatibility):

View file

@ -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