X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-sieve.el;h=2fb82f955dbcf8389cffa6b3a2a3b0754638f1a7;hb=0a37b9c5180270412224cbf2b3af901fe9e81919;hp=36c99d076abe7253efddaee8a01c1f1d7fb76a50;hpb=f6059964525ddd9f9bbdb1da7b73034af70e07cb;p=gnus diff --git a/lisp/gnus-sieve.el b/lisp/gnus-sieve.el index 36c99d076..2fb82f955 100644 --- a/lisp/gnus-sieve.el +++ b/lisp/gnus-sieve.el @@ -118,7 +118,7 @@ See the documentation for these variables and functions for details." "Guess a sieve rule based on RFC822 article in buffer. Return nil if no rule could be guessed." (when (message-fetch-field "sender") - `(sieve address "sender" ,(regexp-quote (message-fetch-field "sender"))))) + `(sieve address "sender" ,(message-fetch-field "sender")))) ;;;###autoload (defun gnus-sieve-article-add-rule () @@ -219,7 +219,7 @@ This is returned as a string." (let* ((newsrc (cdr gnus-newsrc-alist)) script) (dolist (info newsrc) - (when (or (not method) + (when (or (not method) (gnus-server-equal method (gnus-info-method info))) (let* ((group (gnus-info-group info)) (spec (gnus-group-find-parameter group 'sieve t)))