X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fnnmail.el;h=8ccd7b02a16ff3e084f2fb71ce439b89ae523697;hb=79a508f1f7f8e13b242201273ffb8ce266e88b90;hp=366986443a785509d3748c972379de1ab206dc32;hpb=18c341e76f93b34a7c38480ef4f8231815c4a84b;p=gnus diff --git a/lisp/nnmail.el b/lisp/nnmail.el index 366986443..8ccd7b02a 100644 --- a/lisp/nnmail.el +++ b/lisp/nnmail.el @@ -25,7 +25,7 @@ ;;; Code: -;; For Emacs < 22.2. +;; For Emacs <22.2 and XEmacs. (eval-and-compile (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) @@ -1149,10 +1149,10 @@ FUNC will be called with the group name to determine the article number." (setq nnmail-split-trace nil)) (if (or (and (symbolp nnmail-split-methods) (fboundp nnmail-split-methods)) - (and (listp ruleset) + (and (listp nnmail-split-methods) ;; Not a regular split method, so it has to be a ;; fancy one. - (not (let ((top-element (car-safe ruleset))) + (not (let ((top-element (car-safe nnmail-split-methods))) (and (= 2 (length top-element)) (stringp (nth 0 top-element)) (stringp (nth 1 top-element))))))) @@ -1914,7 +1914,7 @@ If TIME is nil, then return the cutoff time for oldness instead." (unless (eq target 'delete) (when (or (gnus-request-group target) (gnus-request-create-group target)) - (let ((group-art (gnus-request-accept-article target nil nil t))) + (let ((group-art (gnus-request-accept-article target nil t t))) (when (consp group-art) (gnus-group-mark-article-read target (cdr group-art))))))))