diff options
| author | Stefan Monnier | 2011-11-20 15:17:46 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-11-20 15:17:46 -0500 |
| commit | 7978747fecf51f985fb9b35092b2a3fd412a9a50 (patch) | |
| tree | 571fbc152166d04493f9c57942e19a73d5672430 | |
| parent | b0d15b4f051853e76f6831886a4ad5f79cec4b46 (diff) | |
| download | emacs-7978747fecf51f985fb9b35092b2a3fd412a9a50.tar.gz emacs-7978747fecf51f985fb9b35092b2a3fd412a9a50.zip | |
* lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc/pcvs-util.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 53cf4b8685d..e9e653c5d7b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window. | ||
| 4 | |||
| 1 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> | 5 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * descr-text.el (describe-char-unicode-data): | 7 | * 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." | |||
| 89 | (or (let ((buf (get-buffer-window buf))) (and buf (select-window buf))) | 89 | (or (let ((buf (get-buffer-window buf))) (and buf (select-window buf))) |
| 90 | (and pop-up-windows | 90 | (and pop-up-windows |
| 91 | (ignore-errors (select-window (split-window-below))) | 91 | (ignore-errors (select-window (split-window-below))) |
| 92 | (switch-to-buffer buf)) | 92 | (switch-to-buffer buf nil 'force-same-window)) |
| 93 | (pop-to-buffer (current-buffer))))) | 93 | (pop-to-buffer (current-buffer))))) |
| 94 | 94 | ||
| 95 | (defun cvs-bury-buffer (buf &optional mainbuf) | 95 | (defun cvs-bury-buffer (buf &optional mainbuf) |