1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(dired-readin-insert): Expand dired-directory.

This commit is contained in:
Andreas Schwab 2002-10-16 21:27:40 +00:00
parent 15fa165878
commit 34cd7b3ca0

View file

@ -654,6 +654,7 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh."
file-list (cdr dired-directory))
(setq dir dired-directory
file-list nil))
(setq dir (expand-file-name dir))
(if (and (equal "" (file-name-nondirectory dir))
(not file-list))
;; If we are reading a whole single directory...