Mercurial > emacs
changeset 99895:a7e92bcb2135
(log-view-annotate-version): Let vc-annotate manage windows instead
of calling switch-to-buffer.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 24 Nov 2008 21:19:56 +0000 |
parents | 51ccb98f75d8 |
children | 5f142ac30138 |
files | lisp/log-view.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/log-view.el Mon Nov 24 21:19:46 2008 +0000 +++ b/lisp/log-view.el Mon Nov 24 21:19:56 2008 +0000 @@ -474,10 +474,10 @@ (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