From: Chong Yidong Date: Mon, 24 Nov 2008 21:19:56 +0000 (+0000) Subject: (log-view-annotate-version): Let vc-annotate manage windows instead X-Git-Tag: emacs-pretest-23.0.90~1555 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9c95fc3d332667b5df5b65a1ff6c7b9f9dfa9f8;p=emacs.git (log-view-annotate-version): Let vc-annotate manage windows instead of calling switch-to-buffer. --- 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