diff options
author | Eli Zaretskii <eliz@gnu.org> | 2007-01-06 21:51:04 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2007-01-06 21:51:04 +0000 |
commit | fe4e58ec6f2e7996e7525cb8d8c53af162ee690a (patch) | |
tree | b0d4bd766f3f4e61020cdb4829a5daf1536d2560 | |
parent | 3dba71a3fbde477b262edbbd2b0a7dc019315677 (diff) | |
download | emacs-fe4e58ec6f2e7996e7525cb8d8c53af162ee690a.tar.gz |
(abbreviate-file-name): Doc fix.
-rw-r--r-- | lisp/ChangeLog | 8 | ||||
-rw-r--r-- | lisp/files.el | 5 |
2 files changed, 11 insertions, 2 deletions
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 <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): 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 |