1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

(log-view-annotate-version): Let vc-annotate manage windows instead

of calling switch-to-buffer.
This commit is contained in:
Chong Yidong 2008-11-24 21:19:56 +00:00
parent 962f83947f
commit c9c95fc3d3

View File

@ -474,10 +474,10 @@ log entries."
(error "Multiple files shown in this buffer, cannot use this command here")))
(save-excursion
(goto-char pos)
(switch-to-buffer (vc-annotate (if log-view-per-file-logs
(log-view-current-file)
(car log-view-vc-fileset))
(log-view-current-tag)))))
(vc-annotate (if log-view-per-file-logs
(log-view-current-file)
(car log-view-vc-fileset))
(log-view-current-tag))))
;;
;; diff