From: Richard M. Stallman Date: Fri, 5 Apr 1996 19:11:05 +0000 (+0000) Subject: (dired-noselect): Resolve symbolic links in argument. X-Git-Tag: emacs-19.34~913 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb2e51f84b4bc68f1493da1b9883143409058140;p=emacs.git (dired-noselect): Resolve symbolic links in argument. --- 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)