--- nnmail.el~ 2004-03-05 10:50:21 +0000 +++ nnmail.el 2004-04-13 11:25:16 +0000 @@ -1570,15 +1570,16 @@ (save-excursion (set-buffer nnmail-cache-buffer) (goto-char (point-max)) - (if (and grp (not (string= "" grp)) - (gnus-methods-equal-p gnus-command-method - (nnmail-cache-primary-mail-backend))) + (if (and grp (not (string= "" grp))) (let ((regexp (if (consp nnmail-cache-ignore-groups) (mapconcat 'identity nnmail-cache-ignore-groups "\\|") nnmail-cache-ignore-groups))) (unless (and regexp (string-match regexp grp)) - (insert id "\t" grp "\n"))) + (if (gnus-methods-equal-p gnus-command-method + (nnmail-cache-primary-mail-backend)) + (insert id "\t" grp "\n") + (insert id "\n")))) (insert id "\n")))))) (defun nnmail-cache-primary-mail-backend ()