]> git.eshelyaron.com Git - emacs.git/commitdiff
Make `g' in `vc-annotate' not bug out
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jul 2022 14:29:58 +0000 (16:29 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jul 2022 14:29:58 +0000 (16:29 +0200)
* lisp/vc/vc-annotate.el (vc-annotate): Don't bug out on `g'
(bug#48359).

lisp/vc/vc-annotate.el

index 4a511f1f68802a31cef30a58459be9c40508d73a..1f19c4cfe266f0eb3c275fb0c9b13af3dff4e5a3 100644 (file)
@@ -451,7 +451,8 @@ should be applied to the background or to the foreground."
           (setq-local vc-annotate-backend backend)
           (setq-local vc-annotate-parent-file file)
           (setq-local vc-annotate-parent-rev rev)
-          (setq-local vc-annotate-parent-display-mode display-mode))))
+          (setq-local vc-annotate-parent-display-mode display-mode)
+          (kill-local-variable 'revert-buffer-function))))
 
     (with-current-buffer temp-buffer-name
       (vc-run-delayed