# HG changeset patch # User Juanma Barranquero # Date 1118762220 0 # Node ID 025ea93d25960f81d82147ec491802f1c0c262cc # Parent 80595c2e2d743486e3571609e4ba8671f5d050da (spam-stat-buffer-change-to-spam, spam-stat-buffer-change-to-non-spam): Follow error conventions. diff -r 80595c2e2d74 -r 025ea93d2596 lisp/gnus/spam-stat.el --- a/lisp/gnus/spam-stat.el Tue Jun 14 15:15:23 2005 +0000 +++ b/lisp/gnus/spam-stat.el Tue Jun 14 15:17:00 2005 +0000 @@ -370,7 +370,7 @@ (lambda (word count) (let ((entry (gethash word spam-stat))) (if (not entry) - (error "This buffer has unknown words in it.") + (error "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)) @@ -386,7 +386,7 @@ (lambda (word count) (let ((entry (gethash word spam-stat))) (if (not entry) - (error "This buffer has unknown words in it.") + (error "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))