* lisp/gnus/message.el (message-bury): Make `buffer' optional.

(message-send-and-exit): Don't pass `buf' so as to hide the buffer.

Fixes: debbugs:14085
This commit is contained in:
Thierry Volpiatto 2013-05-04 15:34:19 -04:00 committed by Stefan Monnier
parent 30c7e54299
commit 998768afd2
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
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.

View file

@ -4047,7 +4047,7 @@ It should typically alter the sending method in some way or other."
(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)
@ -4095,7 +4095,7 @@ Instead, just auto-save the buffer and then bury it."
(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