]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-find-file-hook): Follow multiple links all the way.
authorRichard M. Stallman <rms@gnu.org>
Thu, 9 May 1996 19:45:49 +0000 (19:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 9 May 1996 19:45:49 +0000 (19:45 +0000)
lisp/vc-hooks.el

index 38b91ddef85057cd1d8115a68efe10bce46e796a..5005c30383a081608380e7bccfe6546966e6c826 100644 (file)
@@ -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