Commit 1ea1c2fa authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

message.el (message-pop-to-buffer): Use pop-to-buffer instead of...

message.el (message-pop-to-buffer): Use pop-to-buffer instead of pop-to-buffer-same-window for old Emacsen.
parent 7efa6272
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)))
......
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