diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-15 19:49:47 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-15 19:49:47 +0200 |
commit | 652ce40c50dd22b06c2a670693cc6effc490b0b3 (patch) | |
tree | cc7dfb07b35e7c808f9cf5a92d3bfecb6824ed04 /lisp/mail | |
parent | 47d52c22559da40003dcd02ad32097562a8573d5 (diff) | |
download | emacs-652ce40c50dd22b06c2a670693cc6effc490b0b3.tar.gz |
Update doc string after previous ietf-drums change
* lisp/mail/ietf-drums.el (ietf-drums-parse-address): Doc fix
after previous change.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/ietf-drums.el | 6 |
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 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) |