aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Olum2014-01-09 15:01:15 -0500
committerGlenn Morris2014-01-09 15:01:15 -0500
commit6affdccc5895a0e9650d74c93e0ef04a3e38d41f (patch)
treec4f40fa08fe98aaa1d7d2da171df2c8901f4207c
parent236433d624037a970534da5e7c9125020e0fb4d3 (diff)
downloademacs-6affdccc5895a0e9650d74c93e0ef04a3e38d41f.tar.gz
emacs-6affdccc5895a0e9650d74c93e0ef04a3e38d41f.zip
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.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/message.el6
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index bcf26ac9f9c..8f2dc713376 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12014-01-09 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
2
3 * message.el (message-bury): Call bury-buffer with no argument
4 in the message-return-action case too.
5
12014-01-05 Katsumi Yamaoka <yamaoka@jpl.org> 62014-01-05 Katsumi Yamaoka <yamaoka@jpl.org>
2 7
3 * gnus-sum.el (gnus-article-stop-animations): Declare it before using. 8 * gnus-sum.el (gnus-article-stop-animations): Declare it before using.
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index d1a32d52e06..f6830c13072 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -4099,11 +4099,9 @@ Instead, just auto-save the buffer and then bury it."
4099 4099
4100(defun message-bury (buffer) 4100(defun message-bury (buffer)
4101 "Bury this mail BUFFER." 4101 "Bury this mail BUFFER."
4102 (with-current-buffer buffer (bury-buffer))
4102 (if message-return-action 4103 (if message-return-action
4103 (progn 4104 (apply (car message-return-action) (cdr message-return-action))))
4104 (bury-buffer buffer)
4105 (apply (car message-return-action) (cdr message-return-action)))
4106 (with-current-buffer buffer (bury-buffer))))
4107 4105
4108(defun message-send (&optional arg) 4106(defun message-send (&optional arg)
4109 "Send the message in the current buffer. 4107 "Send the message in the current buffer.