From: Lars Ingebrigtsen Date: Tue, 18 Jan 2022 12:34:39 +0000 (+0100) Subject: The name in textsec-email-suspicious-p is optional X-Git-Tag: emacs-29.0.90~2964 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5006e19856ea88eb042d1af1cb05136bf2f25cd7;p=emacs.git The name in textsec-email-suspicious-p is optional * lisp/international/textsec.el (textsec-email-suspicious-p): The name is optional. --- diff --git a/lisp/international/textsec.el b/lisp/international/textsec.el index 55e4ce9d86c..70ac1d080d2 100644 --- a/lisp/international/textsec.el +++ b/lisp/international/textsec.el @@ -311,7 +311,7 @@ problem is returned." (or (textsec-domain-suspicious-p domain) (textsec-local-address-suspicious-p local) - (textsec-name-suspicious-p name)))) + (and name (textsec-name-suspicious-p name))))) (provide 'textsec)