[gnus git] branch master updated: n0-17-141-gecba5fa =1= * gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead summary buffers.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via ecba5fa01b26b1e5ff94ac92de4dc1ddefe03417 (commit)
from f401d3435485c06b6f83db49f76b04fc834e926d (commit)
- Log -----------------------------------------------------------------
commit ecba5fa01b26b1e5ff94ac92de4dc1ddefe03417
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Sat Jul 2 23:04:13 2011 +0200
* gnus-msg.el (gnus-configure-posting-styles): Don't try to select
dead summary buffers.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5a67e43..90e6f20 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-07-02 Lars Magne Ingebrigtsen <[email protected]>
+ * gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead
+ summary buffers.
+
* message.el (message-get-reply-headers): Delete all duplicates,
instead of the first.
(message-get-reply-headers): Ensure that we have progress while
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index 516e1b3..b265a68 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1799,7 +1799,9 @@ this is a reply."
"Configure posting styles according to `gnus-posting-styles'."
(unless gnus-inhibit-posting-styles
(let ((group (or group-name gnus-newsgroup-name ""))
- (styles (with-current-buffer gnus-summary-buffer
+ (styles (if (gnus-buffer-live-p gnus-summary-buffer)
+ (with-current-buffer gnus-summary-buffer
+ gnus-posting-styles)
gnus-posting-styles))
style match attribute value v results
filep name address element)
-----------------------------------------------------------------------
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 | 3 +++
lisp/gnus-msg.el | 4 +++-
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