]> git.eshelyaron.com Git - emacs.git/commitdiff
Update doc string after previous ietf-drums change
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 Apr 2018 17:49:47 +0000 (19:49 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 Apr 2018 17:49:47 +0000 (19:49 +0200)
* lisp/mail/ietf-drums.el (ietf-drums-parse-address): Doc fix
after previous change.

lisp/mail/ietf-drums.el

index 9bdb9457428e92a679a4f5eddc75bfc8cd18c807..0af3221fc33373a369c66beebd2adc7ee89b07b4 100644 (file)
@@ -185,8 +185,12 @@ STRING is assumed to be a string that is extracted from
 the Content-Transfer-Encoding header of a mail."
   (ietf-drums-remove-garbage (inline (ietf-drums-strip string))))
 
+(declare-function rfc2047-decode-string "rfc2047" (string &optional address-mime))
+
 (defun ietf-drums-parse-address (string &optional decode)
-  "Parse STRING and return a MAILBOX / DISPLAY-NAME pair."
+  "Parse STRING and return a MAILBOX / DISPLAY-NAME pair.
+If DECODE, the DISPLAY-NAME will have RFC2047 decoding performed
+(that's the \"=?utf...q...=?\") stuff."
   (with-temp-buffer
     (let (display-name mailbox c display-string)
       (ietf-drums-init string)