Commit 6affdccc authored by Ken Olum's avatar Ken Olum Committed by Glenn Morris

Tiny change for message-bury

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg00539.html

* lisp/gnus/message.el (message-bury): Call bury-buffer with no
argument in the message-return-action case too.
parent 236433d6
2014-01-09 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
* message.el (message-bury): Call bury-buffer with no argument
in the message-return-action case too.
2014-01-05 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-sum.el (gnus-article-stop-animations): Declare it before using.
......
......@@ -4099,11 +4099,9 @@ Instead, just auto-save the buffer and then bury it."
(defun message-bury (buffer)
"Bury this mail BUFFER."
(with-current-buffer buffer (bury-buffer))
(if message-return-action
(progn
(bury-buffer buffer)
(apply (car message-return-action) (cdr message-return-action)))
(with-current-buffer buffer (bury-buffer))))
(apply (car message-return-action) (cdr message-return-action))))
(defun message-send (&optional arg)
"Send the message in the current buffer.
......
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