# HG changeset patch # User Richard M. Stallman # Date 946623821 0 # Node ID 66940eaf5c5c674cc6371b45b61f4faf5d711bb8 # Parent 5c0c5089979c4b1017c32b62a8206cae41e459a6 (dired-get-filename): Don't call file-name-absolute-p with FILE if FILE is nil. diff -r 5c0c5089979c -r 66940eaf5c5c lisp/dired.el --- 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)