From: Lars Ingebrigtsen Date: Thu, 12 Apr 2018 14:53:07 +0000 (+0200) Subject: Make nnml save the .overview file when used as an expiry target X-Git-Tag: emacs-27.0.90~5284 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f4692fa290e4dca3a636f6872a9b4bc61797b008;p=emacs.git Make nnml save the .overview file when used as an expiry target * lisp/gnus/nnmail.el (nnmail-expiry-target-group): Always pass in the `last' parameter to the acceptance function so that backends like nnml save the .overview file (bug#24499). This may slow down some use cases. --- diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index 5083fa2487f..aa909cc9797 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el @@ -1900,7 +1900,7 @@ If TIME is nil, then return the cutoff time for oldness instead." (unless (eq target 'delete) (when (or (gnus-request-group target nil nil (gnus-get-info target)) (gnus-request-create-group target)) - (let ((group-art (gnus-request-accept-article target nil nil t))) + (let ((group-art (gnus-request-accept-article target nil t t))) (when (and (consp group-art) (cdr group-art)) (gnus-group-mark-article-read target (cdr group-art))))))))