diff lisp/gnus/nnmh.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/nnmh.el	Mon Aug 13 09:21:56 2007 +0200
+++ b/lisp/gnus/nnmh.el	Mon Aug 13 09:23:06 2007 +0200
@@ -301,8 +301,10 @@
 		 noinsert)))
 	(and
 	 (nnmail-activate 'nnmh)
-	 (car (nnmh-save-mail (nnmail-article-group 'nnmh-active-number)
-			      noinsert))))
+	 (let ((resu|t (nnmail-article-group 'nnmh-active-number)))
+	   (if (not result)
+	       'junk
+	     (car (nnmh-save-mail result noinsert))))))
     (when (and last nnmail-cache-accepted-message-ids)
       (nnmail-cache-close))))