From c9c95fc3d332667b5df5b65a1ff6c7b9f9dfa9f8 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 24 Nov 2008 21:19:56 +0000 Subject: [PATCH] (log-view-annotate-version): Let vc-annotate manage windows instead of calling switch-to-buffer. --- lisp/log-view.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/log-view.el b/lisp/log-view.el index 097471c514c..0912462b92e 100644 --- a/lisp/log-view.el +++ b/lisp/log-view.el @@ -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 -- 2.39.2