diff lisp/gnus/nnml.el @ 42:8b8b7f3559a2 r19-15b104

Import from CVS: tag r19-15b104
author cvs
date Mon, 13 Aug 2007 08:54:51 +0200
parents 1a767b41a199
children 131b0175ea99
line wrap: on
line diff
--- a/lisp/gnus/nnml.el	Mon Aug 13 08:54:26 2007 +0200
+++ b/lisp/gnus/nnml.el	Mon Aug 13 08:54:51 2007 +0200
@@ -325,8 +325,9 @@
 	   (and last (nnml-save-nov))))
       (and
        (nnmail-activate 'nnml)
-       (setq result (car (nnml-save-mail
-			  (nnmail-article-group 'nnml-active-number))))
+       (if (not (setq result (nnmail-article-group 'nnml-active-number)))
+	   (setq result 'junk)
+	 (setq result (car (nnml-save-mail result))))
        (when last
 	 (nnmail-save-active nnml-group-alist nnml-active-file)
 	 (when nnmail-cache-accepted-message-ids