[gnus git] branch master updated: m0-5-232-g053b109 =1= Posting style/resend-message fix-up

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  053b10988908fa042b0a7efc079e022323b46a99 (commit)
      from  9c6c035c84adc1eb0f544d61e736b01d69364930 (commit)


- Log -----------------------------------------------------------------
commit 053b10988908fa042b0a7efc079e022323b46a99
Author: Lars Ingebrigtsen <[email protected]>
Date:   Thu Dec 27 15:46:01 2012 +0100

    Posting style/resend-message fix-up
    
    * gnus-msg.el (gnus-summary-resend-message): Don't bug out on
    non-string posting styles (bug#13285).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b9c6633..9ef0174 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-27  Lars Ingebrigtsen  <[email protected]>
+
+	* gnus-msg.el (gnus-summary-resend-message): Don't bug out on
+	non-string posting styles (bug#13285).
+
 2012-12-27  Glenn Morris  <[email protected]>
 
 	* plstore.el (plstore-passphrase-callback-function):
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index 77bb628..c967bc0 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1384,7 +1384,8 @@ For the \"inline\" alternatives, also see the variable
     (dolist (style (if styles
 		       (append gnus-posting-styles (list (cons ".*" styles)))
 		     gnus-posting-styles))
-      (when (string-match (pop style) gnus-newsgroup-name)
+      (when (and (stringp (car style))
+		 (string-match (pop style) gnus-newsgroup-name))
 	(when (setq tem (cadr (assq 'name style)))
 	  (setq user-full-name tem))
 	(when (setq tem (cadr (assq 'address style)))

-----------------------------------------------------------------------
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/gnus-msg.el |    3 ++-
 2 files changed, 7 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.