From: Lars Ingebrigtsen Date: Wed, 2 Feb 2022 18:07:01 +0000 (+0100) Subject: Fix decoding error in ietf-drums-parse-address X-Git-Tag: emacs-29.0.90~2578 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d34dd869d2223254bc5262ca1194eb2edaff029a;p=emacs.git Fix decoding error in ietf-drums-parse-address * lisp/mail/ietf-drums.el (ietf-drums-parse-address): Don't try to decode the name if there is no name (bug#53716). --- diff --git a/lisp/mail/ietf-drums.el b/lisp/mail/ietf-drums.el index 4a079591890..952707226f5 100644 --- a/lisp/mail/ietf-drums.el +++ b/lisp/mail/ietf-drums.el @@ -240,7 +240,7 @@ If DECODE, the DISPLAY-NAME will have RFC2047 decoding performed (cons (mapconcat #'identity (nreverse display-name) "") (ietf-drums-get-comment string))) - (cons mailbox (if decode + (cons mailbox (if (and decode display-string) (rfc2047-decode-string display-string) display-string))))))