mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 20:07:36 +00:00
message.el (message-pop-to-buffer): Use pop-to-buffer instead of pop-to-buffer-same-window for old Emacsen.
This commit is contained in:
parent
7efa6272f0
commit
1ea1c2fa5f
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-12-07 Katsumi Yamaoka <yamaoka@jpl.org>
|
||||
|
||||
* message.el (message-pop-to-buffer): Use pop-to-buffer instead of
|
||||
pop-to-buffer-same-window for old Emacsen.
|
||||
|
||||
2011-12-04 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* message.el (message-pop-to-buffer): Partially revert 2011-11-30
|
||||
|
|
|
|||
|
|
@ -6344,7 +6344,11 @@ between beginning of field and beginning of line."
|
|||
"Message already being composed; erase? ")
|
||||
(message nil))))
|
||||
(error "Message being composed")))
|
||||
(funcall (or switch-function #'pop-to-buffer-same-window) name)
|
||||
(funcall (or switch-function
|
||||
(if (fboundp #'pop-to-buffer-same-window)
|
||||
#'pop-to-buffer-same-window
|
||||
#'pop-to-buffer))
|
||||
name)
|
||||
(set-buffer name))
|
||||
(erase-buffer)
|
||||
(message-mode)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue