From cb2e51f84b4bc68f1493da1b9883143409058140 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 5 Apr 1996 19:11:05 +0000 Subject: [PATCH] (dired-noselect): Resolve symbolic links in argument. --- lisp/dired.el | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2