diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-30 13:40:59 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-30 13:40:59 +0200 |
commit | 6ce75b19797abcf65a93307260a6688bbf76f287 (patch) | |
tree | 5009bed5f4332ebfbd4f429a210e5ec08f6443a1 /lisp/mail/mail-parse.el | |
parent | 40c4691355314cac57c490de3c6848a58930283a (diff) | |
download | emacs-6ce75b19797abcf65a93307260a6688bbf76f287.tar.gz |
Clarify mail-header address parsing doc strings
* lisp/mail/mail-parse.el (mail-header-parse-address-lax):
* lisp/mail/ietf-drums.el (ietf-drums-parse-address): Clarify what
these functions do (bug#56824).
Diffstat (limited to 'lisp/mail/mail-parse.el')
-rw-r--r-- | lisp/mail/mail-parse.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/mail/mail-parse.el b/lisp/mail/mail-parse.el index ec719850e2e..d28b8b58438 100644 --- a/lisp/mail/mail-parse.el +++ b/lisp/mail/mail-parse.el @@ -85,10 +85,10 @@ The return value is a list with mail/name pairs." "Parse STRING as a mail address. Returns a mail/name pair. -This function will first try to parse STRING as a -standards-compliant address string, and if that fails, try to use -heuristics to determine the email address and the name in the -string." +This function uses heuristics to determine the email address and +the name in the string. If you have an RFC822(bis) +standards-compliant STRING, use `mail-header-parse-address' +instead." (with-temp-buffer (insert (string-clean-whitespace string)) ;; Find the bit with the @ and guess that that's the mail. |