summaryrefslogtreecommitdiff
path: root/lisp/log-view.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-11-24 21:19:56 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-11-24 21:19:56 +0000
commitc9c95fc3d332667b5df5b65a1ff6c7b9f9dfa9f8 (patch)
tree8ac89d8b04ed8479eba6c06b60594de3550d9d9a /lisp/log-view.el
parent962f83947fde2a453c7c19cfebc91a38282cfdad (diff)
downloademacs-c9c95fc3d332667b5df5b65a1ff6c7b9f9dfa9f8.tar.gz
(log-view-annotate-version): Let vc-annotate manage windows instead
of calling switch-to-buffer.
Diffstat (limited to 'lisp/log-view.el')
-rw-r--r--lisp/log-view.el8
1 files 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