mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -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."
|
||||
(delq nil
|
||||
(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-addresses string t))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue