1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

* lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window.

This commit is contained in:
Stefan Monnier 2011-11-20 15:17:46 -05:00
parent b0d15b4f05
commit 7978747fec
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window.
2011-11-20 Juanma Barranquero <lekktu@gmail.com>
* descr-text.el (describe-char-unicode-data):

View File

@ -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)