Make g' in vc-annotate' not bug out

* lisp/vc/vc-annotate.el (vc-annotate): Don't bug out on `g'
(bug#48359).
This commit is contained in:
Lars Ingebrigtsen 2022-07-11 16:29:58 +02:00
parent b2e6e95581
commit f9e4b2d3ce

View 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