diff options
| author | Juanma Barranquero <lekktu@gmail.com> | 2005-06-14 15:17:00 +0000 |
|---|---|---|
| committer | Juanma Barranquero <lekktu@gmail.com> | 2005-06-14 15:17:00 +0000 |
| commit | 9afac171a5b627b95b9a70b1832d66b6600900bb (patch) | |
| tree | 07918c29defdb764500be5db1702b2ec12acb612 /lisp | |
| parent | 401d9d1a51ca2606440aebb5d4030cf90dbedd1a (diff) | |
| download | emacs-9afac171a5b627b95b9a70b1832d66b6600900bb.tar.gz | |
(spam-stat-buffer-change-to-spam, spam-stat-buffer-change-to-non-spam):
Follow error conventions.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/spam-stat.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/spam-stat.el b/lisp/gnus/spam-stat.el index ca1cdc6ce60..6af9b2e2b3f 100644 --- a/lisp/gnus/spam-stat.el +++ b/lisp/gnus/spam-stat.el @@ -370,7 +370,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.") + (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 @@ 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.") + (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)) |
