Mercurial > hg > xemacs-beta
diff lisp/gnus/nnmh.el @ 114:8619ce7e4c50 r20-1b9
Import from CVS: tag r20-1b9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:21:54 +0200 |
parents | fe104dbd9147 |
children | 9f59509498e1 |
line wrap: on
line diff
--- a/lisp/gnus/nnmh.el Mon Aug 13 09:20:50 2007 +0200 +++ b/lisp/gnus/nnmh.el Mon Aug 13 09:21:54 2007 +0200 @@ -290,7 +290,8 @@ (deffoo nnmh-request-accept-article (group &optional server last noinsert) (nnmh-possibly-change-directory group server) (nnmail-check-syntax) - (nnmail-cache-insert (nnmail-fetch-field "message-id")) + (when nnmail-cache-accepted-message-ids + (nnmail-cache-insert (nnmail-fetch-field "message-id"))) (prog1 (if (stringp group) (and @@ -302,7 +303,7 @@ (nnmail-activate 'nnmh) (car (nnmh-save-mail (nnmail-article-group 'nnmh-active-number) noinsert)))) - (when last + (when (and last nnmail-cache-accepted-message-ids) (nnmail-cache-close)))) (deffoo nnmh-request-replace-article (article group buffer)