Commit af9bf0ca authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen Committed by Glenn Morris

Backport gnus-msg fix from trunk

  
* lisp/gnus/gnus-msg.el (gnus-summary-resend-message):
Don't bug out on non-string posting styles.

Fixes: debbugs:13285
parent 7a3a7493
2012-12-27 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-msg.el (gnus-summary-resend-message): Don't bug out on
non-string posting styles (bug#13285).
2012-12-27 Glenn Morris <rgm@gnu.org>
* plstore.el (plstore-passphrase-callback-function):
......
......@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment