mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(vc-find-file-hook): Follow multiple links all the way.
This commit is contained in:
parent
9998d430a7
commit
227d2bed63
@ -953,7 +953,7 @@ control system name."
|
||||
(make-local-variable 'backup-inhibited)
|
||||
(setq backup-inhibited t))))
|
||||
((let* ((link (file-symlink-p buffer-file-name))
|
||||
(link-type (and link (vc-backend link))))
|
||||
(link-type (and link (vc-backend (file-chase-links link)))))
|
||||
(if link-type
|
||||
(cond ((eq vc-follow-symlinks nil)
|
||||
(message
|
||||
|
Loading…
Reference in New Issue
Block a user