1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(dired-get-filename): Don't call file-name-absolute-p with FILE if FILE is nil.

This commit is contained in:
Richard M. Stallman 1999-12-31 07:04:08 +00:00
parent f436a90ae2
commit f6e2cbe3c1
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
1999-12-31 Richard M. Stallman <rms@caffeine.ai.mit.edu>
* dired.el (dired-get-filename): Don't call file-name-absolute-p
with FILE if FILE is nil.
1999-12-30 Richard M. Stallman <rms@caffeine.ai.mit.edu>
* simple.el (choose-completion-string): In minibuffer,
do not delete the prompt string.
1999-12-30 Gerd Moellmann <gerd@gnu.org>
* bindings.el (make-mode-line-mouse-sensitive): Copy keymap

View File

@ -1336,7 +1336,7 @@ Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on
"\\([^\\]\\|\\`\\)\"" 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)