Commit 998768af authored by Thierry Volpiatto's avatar Thierry Volpiatto Committed by Stefan Monnier
Browse files

* 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
parent 30c7e542
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.
......
......@@ -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
......
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