Commit 5c7e8442 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

lisp/gnus/ietf-drums.el (ietf-drums-parse-address): Don't bug out when called with an empty string

parent a60a2b6d
2014-02-07 Lars Ingebrigtsen <larsi@gnus.org>
* ietf-drums.el (ietf-drums-parse-address): Don't bug out when called
with an empty string.
2014-02-06 Lars Ingebrigtsen <larsi@gnus.org>
 
* gnus-msg.el (gnus-summary-cancel-article): `user-mail-address' is
......
......@@ -214,7 +214,8 @@ backslash and doublequote.")
(mapconcat 'identity (reverse display-name) " "))
(setq display-string (ietf-drums-get-comment string)))
(if (not mailbox)
(when (string-match "@" display-string)
(when (and display-string
(string-match "@" display-string))
(cons
(mapconcat 'identity (nreverse display-name) "")
(ietf-drums-get-comment string)))
......
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