mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
Make mail-header-parse-addresses-lax more lax
* lisp/mail/mail-parse.el (mail-header-parse-addresses-lax): Be more resilient (bug#54523).
This commit is contained in:
parent
29e310d60f
commit
5334e726d0
1 changed files with 2 additions and 1 deletions
|
|
@ -76,7 +76,8 @@
|
||||||
The return value is a list with mail/name pairs."
|
The return value is a list with mail/name pairs."
|
||||||
(delq nil
|
(delq nil
|
||||||
(mapcar (lambda (elem)
|
(mapcar (lambda (elem)
|
||||||
(or (mail-header-parse-address elem)
|
(or (ignore-errors
|
||||||
|
(mail-header-parse-address elem))
|
||||||
(mail-header-parse-address-lax elem)))
|
(mail-header-parse-address-lax elem)))
|
||||||
(mail-header-parse-addresses string t))))
|
(mail-header-parse-addresses string t))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue