diff lisp/gnus/spam-stat.el @ 63419:025ea93d2596

(spam-stat-buffer-change-to-spam, spam-stat-buffer-change-to-non-spam): Follow error conventions.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 14 Jun 2005 15:17:00 +0000
parents aac0a33f5772
children 18a818a2ee7c
line wrap: on
line diff
--- 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))