From e94745349a278d35e413ab2ca68ce8da03ed87e0 Mon Sep 17 00:00:00 2001 From: Teodor Zlatanov Date: Fri, 20 Jun 2003 01:42:16 +0000 Subject: [PATCH] (spam-enter-list): search-forward specified wrong --- lisp/ChangeLog | 4 ++++ lisp/spam.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9820616d1..4354e1040 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2003-06-19 Teodor Zlatanov + + * spam.el (spam-enter-list): search-forward specified wrong + 2003-06-19 Lars Magne Ingebrigtsen * gnus-art.el: Comment fix. diff --git a/lisp/spam.el b/lisp/spam.el index bdf73e16e..d6b07d702 100644 --- a/lisp/spam.el +++ b/lisp/spam.el @@ -965,7 +965,7 @@ Uses `gnus-newsgroup-name' if category is nil (for ham registration)." (save-excursion (set-buffer (find-file-noselect file)) - (unless (search-forward (regexp-quote address)) + (unless (search-forward (regexp-quote address) nil t) (goto-char (point-max)) (unless (bobp) (insert "\n")) -- 2.25.1