Subject: Re: bug#14117: 24.3.50; message buffer is not deleted when sending email

From: Glenn Morris <[email-masked]>
Date: Tue, 16 Apr 2013 15:29:08 -0400

Thierry Volpiatto wrote:

> Looks like for some reasons, `burry-buffer' called with no BUFFER arg in
> `message-bury' fix the problem.
>
> diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
> index 2b2a0a9..bd9a1a7 100644
> --- a/lisp/gnus/message.el
> +++ b/lisp/gnus/message.el
> @@ -4097,7 +4097,7 @@ Instead, just auto-save the buffer and then bury it."
>  
>  (defun message-bury (buffer)
>    "Bury this mail BUFFER."
> -  (bury-buffer buffer)
> +  (bury-buffer)
>    (when message-return-action
>      (apply (car message-return-action) (cdr message-return-action))))

That can't be the right solution, given that message-bury takes a BUFFER
argument.

Presumably the 2013-03-18 "minor cleanup" isn't (a cleanup). Why not
just revert it?

http://thread.gmane.org/gmane.emacs.gnus.general/83058