emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f9e4b2d3ce: Make `g' in `vc-annotate' not bug out


From: Lars Ingebrigtsen
Subject: master f9e4b2d3ce: Make `g' in `vc-annotate' not bug out
Date: Mon, 11 Jul 2022 10:30:13 -0400 (EDT)

branch: master
commit f9e4b2d3ce6ce091d19467e95d26125ac52beb7d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Make `g' in `vc-annotate' not bug out
    
    * lisp/vc/vc-annotate.el (vc-annotate): Don't bug out on `g'
    (bug#48359).
---
 lisp/vc/vc-annotate.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el
index 4a511f1f68..1f19c4cfe2 100644
--- a/lisp/vc/vc-annotate.el
+++ b/lisp/vc/vc-annotate.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]