aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/ietf-drums.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mail/ietf-drums.el b/lisp/mail/ietf-drums.el
index 9bdb9457428..0af3221fc33 100644
--- a/lisp/mail/ietf-drums.el
+++ b/lisp/mail/ietf-drums.el
@@ -185,8 +185,12 @@ STRING is assumed to be a string that is extracted from
185the Content-Transfer-Encoding header of a mail." 185the Content-Transfer-Encoding header of a mail."
186 (ietf-drums-remove-garbage (inline (ietf-drums-strip string)))) 186 (ietf-drums-remove-garbage (inline (ietf-drums-strip string))))
187 187
188(declare-function rfc2047-decode-string "rfc2047" (string &optional address-mime))
189
188(defun ietf-drums-parse-address (string &optional decode) 190(defun ietf-drums-parse-address (string &optional decode)
189 "Parse STRING and return a MAILBOX / DISPLAY-NAME pair." 191 "Parse STRING and return a MAILBOX / DISPLAY-NAME pair.
192If DECODE, the DISPLAY-NAME will have RFC2047 decoding performed
193(that's the \"=?utf...q...=?\") stuff."
190 (with-temp-buffer 194 (with-temp-buffer
191 (let (display-name mailbox c display-string) 195 (let (display-name mailbox c display-string)
192 (ietf-drums-init string) 196 (ietf-drums-init string)