changeset 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 80595c2e2d74
children f4efcc094de0
files lisp/gnus/spam-stat.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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))