aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>2002-10-16 21:27:40 +0000
committerAndreas Schwab <[email protected]>2002-10-16 21:27:40 +0000
commit34cd7b3ca0b94652de6da85373e62f7bc0a99e8d (patch)
tree490e46b21538df43fc3c9ae179d4857fce2ee632 /lisp/dired.el
parent15fa165878655e2bcb85a9b2c2339eb74b746c36 (diff)
(dired-readin-insert): Expand dired-directory.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index e26447fbd2..5fe4e4aedb 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...