From cc8483d8ee3f7b6782874c3f20bd3ff30515e2fe Mon Sep 17 00:00:00 2001 From: Teodor Zlatanov Date: Wed, 5 Feb 2003 14:46:54 +0000 Subject: [PATCH] (spam-check-BBDB): no need to regexp-quote the argument of bbdb-search-simple --- lisp/ChangeLog | 5 +++++ lisp/spam.el | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a8d4886c1..1f90ba2b5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-02-05 Teodor Zlatanov + + * spam.el (spam-check-BBDB): no need to regexp-quote the argument + of bbdb-search-simple + 2003-02-05 Simon Josefsson * gnus-agent.el (gnus-agent-expire-days): Change default to nil. diff --git a/lisp/spam.el b/lisp/spam.el index 6ff4409c2..d68a1225c 100644 --- a/lisp/spam.el +++ b/lisp/spam.el @@ -638,8 +638,7 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." "Mail from people in the BBDB is never considered spam" (let ((who (message-fetch-field "from"))) (when who - (setq who (regexp-quote (cadr - (gnus-extract-address-components who)))) + (setq who (cadr (gnus-extract-address-components who))) (if (bbdb-search-simple nil who) nil spam-split-group))))) -- 2.34.1