From 34cd7b3ca0b94652de6da85373e62f7bc0a99e8d Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 16 Oct 2002 21:27:40 +0000 Subject: [PATCH] (dired-readin-insert): Expand dired-directory. --- lisp/dired.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/dired.el b/lisp/dired.el index e26447fbd2f..5fe4e4aedbd 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -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... -- 2.39.2