From 7978747fecf51f985fb9b35092b2a3fd412a9a50 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 20 Nov 2011 15:17:46 -0500 Subject: [PATCH] * lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window. --- lisp/ChangeLog | 4 ++++ lisp/vc/pcvs-util.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 53cf4b8685d..e9e653c5d7b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-11-20 Stefan Monnier + + * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window. + 2011-11-20 Juanma Barranquero * descr-text.el (describe-char-unicode-data): 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) -- 2.39.2