mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
Fix 'vc-dir-resynch-file' (bug#80803)
* lisp/vc/vc-dir.el (vc-dir-resynch-file): Apply 'file-truename' instead of 'expand-file-name' to FNAME argument to prevent spurious display of symlinked files in *vc-dir* buffer.
This commit is contained in:
parent
e420725935
commit
e05fab5775
1 changed files with 1 additions and 1 deletions
|
|
@ -1305,7 +1305,7 @@ that file."
|
|||
|
||||
(defun vc-dir-resynch-file (&optional fname)
|
||||
"Update the entries for FNAME in any directory buffers that list it."
|
||||
(let ((file (expand-file-name (or fname buffer-file-name)))
|
||||
(let ((file (file-truename (or fname buffer-file-name)))
|
||||
(drop '()))
|
||||
(save-current-buffer
|
||||
;; look for a vc-dir buffer that might show this file.
|
||||
|
|
|
|||
Loading…
Reference in a new issue