[gnus git] branch master updated: m0-5-281-gd99275b =1= message.el (message-bury): Minor cleanup
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via d99275bb9213560610741a6f2a7875dc0c996a74 (commit)
from 3f80cb2442e1c4a3418708a54cbac4d7f524338c (commit)
- Log -----------------------------------------------------------------
commit d99275bb9213560610741a6f2a7875dc0c996a74
Author: Sam Steingold <[email protected]>
Date: Mon Mar 18 22:47:51 2013 +0000
message.el (message-bury): Minor cleanup
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e94f2e1..7b64cec 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-18 Sam Steingold <[email protected]>
+
+ * message.el (message-bury): Minor cleanup.
+
2013-03-07 Paul Eggert <[email protected]>
* gnus-cite.el: Specify utf-8, not iso-8859-1, for ASCII file.
diff --git a/lisp/message.el b/lisp/message.el
index d87879b..1b82ad5 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -4141,11 +4141,9 @@ Instead, just auto-save the buffer and then bury it."
(defun message-bury (buffer)
"Bury this mail BUFFER."
- (if message-return-action
- (progn
(bury-buffer buffer)
- (apply (car message-return-action) (cdr message-return-action)))
- (with-current-buffer buffer (bury-buffer))))
+ (when message-return-action
+ (apply (car message-return-action) (cdr message-return-action))))
(defun message-send (&optional arg)
"Send the message in the current buffer.
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 4 ++++
lisp/message.el | 8 +++-----
2 files changed, 7 insertions(+), 5 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project