]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-noselect): Resolve symbolic links in argument.
authorRichard M. Stallman <rms@gnu.org>
Fri, 5 Apr 1996 19:11:05 +0000 (19:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 5 Apr 1996 19:11:05 +0000 (19:11 +0000)
lisp/dired.el

index 18f865551a6c2450aee87b1f73ae377518c4ead3..76ce9e8d45d48da54fe4896fdb1389b8db642929 100644 (file)
@@ -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)