diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/dired.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 18f865551a6..76ce9e8d45d 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -386,6 +386,8 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh." (setq dirname dir-or-list)) (setq dirname (abbreviate-file-name (expand-file-name (directory-file-name dirname)))) + (if find-file-visit-truename + (setq dirname (file-truename dirname))) (if (file-directory-p dirname) (setq dirname (file-name-as-directory dirname))) (if (consp dir-or-list) |