diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2008-11-24 21:19:56 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2008-11-24 21:19:56 +0000 |
commit | c9c95fc3d332667b5df5b65a1ff6c7b9f9dfa9f8 (patch) | |
tree | 8ac89d8b04ed8479eba6c06b60594de3550d9d9a /lisp/log-view.el | |
parent | 962f83947fde2a453c7c19cfebc91a38282cfdad (diff) | |
download | emacs-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.el | 8 |
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 |