]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 20 Nov 2011 20:17:46 +0000 (15:17 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 20 Nov 2011 20:17:46 +0000 (15:17 -0500)
lisp/ChangeLog
lisp/vc/pcvs-util.el

index 53cf4b8685dfa5a1457096abf0bc6c48ddb28f48..e9e653c5d7b89bb6966a7ccfa965f6adbdf54695 100644 (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):
index 4915cb9bf7f26a03c927cc043d1daaf2090495a9..ea739ea726a2a3646529dc5cf5e446c2c4ae045c 100644 (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)