projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e310d
)
Make mail-header-parse-addresses-lax more lax
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 22 Mar 2022 19:13:31 +0000
(20:13 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 22 Mar 2022 19:13:31 +0000
(20:13 +0100)
* lisp/mail/mail-parse.el (mail-header-parse-addresses-lax): Be
more resilient (bug#54523).
lisp/mail/mail-parse.el
patch
|
blob
|
history
diff --git
a/lisp/mail/mail-parse.el
b/lisp/mail/mail-parse.el
index 23894e59b77ee9eaa60f951728569c21b005ec26..ec719850e2ed4eae2c1329a444163c933cede725 100644
(file)
--- a/
lisp/mail/mail-parse.el
+++ b/
lisp/mail/mail-parse.el
@@
-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))))