From: Chong Yidong Date: Sun, 4 Dec 2011 02:02:45 +0000 (+0800) Subject: message.el (message-pop-to-buffer): Use pop-to-buffer-same-window for last change. X-Git-Tag: emacs-pretest-24.0.93~232^2~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a92f50ad7eb6137d050b7e2d1d2a92ee140759fb;p=emacs.git message.el (message-pop-to-buffer): Use pop-to-buffer-same-window for last change. --- diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index d75f85a897a..649b2f5f96b 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -6344,7 +6344,7 @@ between beginning of field and beginning of line." "Message already being composed; erase? ") (message nil)))) (error "Message being composed"))) - (funcall (or switch-function #'switch-to-buffer) name) + (funcall (or switch-function #'pop-to-buffer-same-window) name) (set-buffer name)) (erase-buffer) (message-mode)))