changeset 14947:dde6603e020f

(dired-noselect): Resolve symbolic links in argument.
author Richard M. Stallman <rms@gnu.org>
date Fri, 05 Apr 1996 19:11:05 +0000
parents 3ad13f2b6ea0
children 044a7dcbeb06
files lisp/dired.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Fri Apr 05 18:17:07 1996 +0000
+++ b/lisp/dired.el	Fri Apr 05 19:11:05 1996 +0000
@@ -386,6 +386,8 @@
       (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)