mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(gnus-sieve-article-add-rule): Follow error conventions.
This commit is contained in:
parent
e2a0329ada
commit
7f3a834027
@ -129,7 +129,7 @@ Return nil if no rule could be guessed."
|
||||
(let ((rule (gnus-sieve-guess-rule-for-article))
|
||||
(info (gnus-get-info gnus-newsgroup-name)))
|
||||
(if (null rule)
|
||||
(error "Could not guess rule for article.")
|
||||
(error "Could not guess rule for article")
|
||||
(gnus-info-set-params info (cons rule (gnus-info-params info)))
|
||||
(message "Added rule in group %s for article: %s" gnus-newsgroup-name
|
||||
rule)))))
|
||||
|
Loading…
Reference in New Issue
Block a user