summaryrefslogtreecommitdiff
path: root/lisp/vc/pcvs-util.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc/pcvs-util.el')
-rw-r--r--lisp/vc/pcvs-util.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/pcvs-util.el b/lisp/vc/pcvs-util.el
index 4915cb9bf7f..ea739ea726a 100644
--- a/lisp/vc/pcvs-util.el
+++ b/lisp/vc/pcvs-util.el
@@ -89,7 +89,7 @@ try to split a new window instead."
(or (let ((buf (get-buffer-window buf))) (and buf (select-window buf)))
(and pop-up-windows
(ignore-errors (select-window (split-window-below)))
- (switch-to-buffer buf))
+ (switch-to-buffer buf nil 'force-same-window))
(pop-to-buffer (current-buffer)))))
(defun cvs-bury-buffer (buf &optional mainbuf)