diff options
| -rw-r--r-- | lisp/files.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index 089a553ce58..943622064f3 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -627,7 +627,8 @@ Choose the buffer's name using `generate-new-buffer-name'." | |||
| 627 | This also substitutes \"~\" for the user's home directory. | 627 | This also substitutes \"~\" for the user's home directory. |
| 628 | Type \\[describe-variable] directory-abbrev-alist RET for more information." | 628 | Type \\[describe-variable] directory-abbrev-alist RET for more information." |
| 629 | ;; Get rid of the prefixes added by the automounter. | 629 | ;; Get rid of the prefixes added by the automounter. |
| 630 | (if (and (string-match automount-dir-prefix filename) | 630 | (if (and automount-dir-prefix |
| 631 | (string-match automount-dir-prefix filename) | ||
| 631 | (file-exists-p (file-name-directory | 632 | (file-exists-p (file-name-directory |
| 632 | (substring filename (1- (match-end 0)))))) | 633 | (substring filename (1- (match-end 0)))))) |
| 633 | (setq filename (substring filename (1- (match-end 0))))) | 634 | (setq filename (substring filename (1- (match-end 0))))) |