Mercurial > hg > xemacs-beta
diff lisp/gnus/nnmbox.el @ 38:1a767b41a199 r19-15b102
Import from CVS: tag r19-15b102
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:54:01 +0200 |
parents | c53a95d3c46d |
children | 8b8b7f3559a2 |
line wrap: on
line diff
--- a/lisp/gnus/nnmbox.el Mon Aug 13 08:53:41 2007 +0200 +++ b/lisp/gnus/nnmbox.el Mon Aug 13 08:54:01 2007 +0200 @@ -304,6 +304,8 @@ (forward-line -1) (while (re-search-backward "^X-Gnus-Newsgroup: " nil t) (delete-region (point) (progn (forward-line 1) (point)))) + (when nnmail-cache-accepted-message-ids + (nnmail-cache-insert (nnmail-fetch-field "message-id"))) (setq result (nnmbox-save-mail (if (stringp group) (list (cons group (nnmbox-active-number group))) @@ -313,6 +315,8 @@ (goto-char (point-max)) (insert-buffer-substring buf) (when last + (when nnmail-cache-accepted-message-ids + (nnmail-cache-close)) (nnmail-save-active nnmbox-group-alist nnmbox-active-file) (save-buffer)))) (car result)))