Mercurial > emacs
changeset 27051:66940eaf5c5c
(dired-get-filename): Don't call file-name-absolute-p with FILE if FILE is nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 31 Dec 1999 07:03:41 +0000 |
parents | 5c0c5089979c |
children | d07fe9e943a0 |
files | lisp/dired.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Fri Dec 31 04:02:38 1999 +0000 +++ b/lisp/dired.el Fri Dec 31 07:03:41 1999 +0000 @@ -1336,7 +1336,7 @@ "\\([^\\]\\|\\`\\)\"" file "\\1\\\\\"" nil t) file) "\""))))) - (and (file-name-absolute-p file) + (and file (file-name-absolute-p file) (setq already-absolute t)) (and file buffer-file-coding-system (not file-name-coding-system)