1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-02 20:16:25 +00:00

(dired-noselect): Resolve symbolic links in argument.

This commit is contained in:
Richard M. Stallman 1996-04-05 19:11:05 +00:00
parent 333bc6d09f
commit cb2e51f84b

View 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)