Commit 227d2bed authored by Richard M. Stallman's avatar Richard M. Stallman

(vc-find-file-hook): Follow multiple links all the way.

parent 9998d430
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment