(message-send-and-exit): Don't pass `buf' so as to hide the buffer.
Fixes: debbugs:14085
+2013-05-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
+
+ * message.el (message-bury): Make `buffer' optional.
+ (message-send-and-exit): Don't pass `buf' so as to hide the buffer
+ (bug#14085).
+
2013-05-01 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs.
(actions message-exit-actions))
(when (and (message-send arg)
(buffer-name buf))
- (message-bury buf)
+ (message-bury)
(if message-kill-buffer-on-exit
(kill-buffer buf))
(message-do-actions actions)
(message-disassociate-draft)))
(message-do-actions actions))))
-(defun message-bury (buffer)
+(defun message-bury (&optional buffer)
"Bury this mail BUFFER."
(if message-return-action
(progn