From: yamaoka Date: Mon, 12 Apr 2004 21:53:04 +0000 (+0000) Subject: Synch to No Gnus 200404121515. X-Git-Tag: t-gnus-6_17_4-quimby-~974 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a90003b1d9e1ae21e70012ea2af35fd819af8196;p=elisp%2Fgnus.git- Synch to No Gnus 200404121515. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 55ab168..b900469 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2004-04-12 Teodor Zlatanov + + * spam-stat.el (spam-stat-buffer-change-to-spam) + (spam-stat-buffer-change-to-non-spam): change (error) to + (gnus-message 8) invocation + 2004-04-12 Katsumi Yamaoka * nntp.el (nntp-via-netcat-command): New variable. diff --git a/lisp/spam-stat.el b/lisp/spam-stat.el index e0265fa..2fdad4e 100644 --- a/lisp/spam-stat.el +++ b/lisp/spam-stat.el @@ -356,7 +356,7 @@ Use `spam-stat-ngood', `spam-stat-nbad', `spam-stat-good', (lambda (word count) (let ((entry (gethash word spam-stat))) (if (not entry) - (error "This buffer has unknown words in it") + (gnus-message 8 "This buffer has unknown words in it") (spam-stat-set-good entry (- (spam-stat-good entry) count)) (spam-stat-set-bad entry (+ (spam-stat-bad entry) count)) (spam-stat-set-score entry (spam-stat-compute-score entry)) @@ -372,7 +372,7 @@ Use `spam-stat-ngood', `spam-stat-nbad', `spam-stat-good', (lambda (word count) (let ((entry (gethash word spam-stat))) (if (not entry) - (error "This buffer has unknown words in it") + (gnus-message 8 "This buffer has unknown words in it") (spam-stat-set-good entry (+ (spam-stat-good entry) count)) (spam-stat-set-bad entry (- (spam-stat-bad entry) count)) (spam-stat-set-score entry (spam-stat-compute-score entry))