[gnus git] branch master updated: m0-5-14-gb157967 =1= Make `message-buffers' return all derived buffers
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via b157967844ef8a7aea7d45ed4b801007f90bce2f (commit)
from 46dc405b82f3031306a91b20bf658696d79c5f3a (commit)
- Log -----------------------------------------------------------------
commit b157967844ef8a7aea7d45ed4b801007f90bce2f
Author: Stephen Eglen <[email protected]>
Date: Fri Jun 8 00:48:10 2012 +0200
Make `message-buffers' return all derived buffers
* message.el (message-buffers): Return all buffers derived from Message
to make `gnus-dired-attach' work with mu4e.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a4d08b4..bbe79a2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-07 Stephen Eglen <[email protected]>
+
+ * message.el (message-buffers): Return all buffers derived from Message
+ to make `gnus-dired-attach' work with mu4e.
+
2012-06-01 Stefan Monnier <[email protected]>
* nntp.el: Stop the `letf' madness.
diff --git a/lisp/message.el b/lisp/message.el
index f32981f..0a8feb6 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -3855,7 +3855,7 @@ prefix, and don't delete any headers."
(save-current-buffer
(dolist (buffer (buffer-list t))
(set-buffer buffer)
- (when (and (eq major-mode 'message-mode)
+ (when (and (derived-mode-p 'message-mode)
(null message-sent-message-via))
(push (buffer-name buffer) buffers))))
(nreverse buffers)))
-----------------------------------------------------------------------
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 | 5 +++++
lisp/message.el | 2 +-
2 files changed, 6 insertions(+), 1 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