summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-07-11 16:29:58 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-07-11 16:29:58 +0200
commitf9e4b2d3ce6ce091d19467e95d26125ac52beb7d (patch)
treeb8efce8e519ae1e06f9bf4fac6fe8c0cd1ddd610
parentb2e6e9558165eff1d6e51fb48cbfbc8c5f7bc1ca (diff)
downloademacs-f9e4b2d3ce6ce091d19467e95d26125ac52beb7d.tar.gz
Make `g' in `vc-annotate' not bug out
* lisp/vc/vc-annotate.el (vc-annotate): Don't bug out on `g' (bug#48359).
-rw-r--r--lisp/vc/vc-annotate.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el
index 4a511f1f688..1f19c4cfe26 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