Mercurial > emacs
changeset 15548:ec7e7b99c680
(abbreviate-file-name): Ignore automount-dir-prefix if nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 28 Jun 1996 08:28:51 +0000 |
parents | c3e0ef571f08 |
children | 212868acf99e |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Fri Jun 28 08:25:55 1996 +0000 +++ b/lisp/files.el Fri Jun 28 08:28:51 1996 +0000 @@ -627,7 +627,8 @@ This also substitutes \"~\" for the user's home directory. Type \\[describe-variable] directory-abbrev-alist RET for more information." ;; Get rid of the prefixes added by the automounter. - (if (and (string-match automount-dir-prefix filename) + (if (and automount-dir-prefix + (string-match automount-dir-prefix filename) (file-exists-p (file-name-directory (substring filename (1- (match-end 0)))))) (setq filename (substring filename (1- (match-end 0)))))