Commit 7978747f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent b0d15b4f
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> 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
* descr-text.el (describe-char-unicode-data): * descr-text.el (describe-char-unicode-data):
......
...@@ -89,7 +89,7 @@ try to split a new window instead." ...@@ -89,7 +89,7 @@ try to split a new window instead."
(or (let ((buf (get-buffer-window buf))) (and buf (select-window buf))) (or (let ((buf (get-buffer-window buf))) (and buf (select-window buf)))
(and pop-up-windows (and pop-up-windows
(ignore-errors (select-window (split-window-below))) (ignore-errors (select-window (split-window-below)))
(switch-to-buffer buf)) (switch-to-buffer buf nil 'force-same-window))
(pop-to-buffer (current-buffer))))) (pop-to-buffer (current-buffer)))))
(defun cvs-bury-buffer (buf &optional mainbuf) (defun cvs-bury-buffer (buf &optional mainbuf)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment