diff lisp/gnus/nnml.el @ 116:9f59509498e1 r20-1b10

Import from CVS: tag r20-1b10
author cvs
date Mon, 13 Aug 2007 09:23:06 +0200
parents 8619ce7e4c50
children 7d55a9ba150c
line wrap: on
line diff
--- a/lisp/gnus/nnml.el	Mon Aug 13 09:21:56 2007 +0200
+++ b/lisp/gnus/nnml.el	Mon Aug 13 09:23:06 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