From f4692fa290e4dca3a636f6872a9b4bc61797b008 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 12 Apr 2018 16:53:07 +0200 Subject: [PATCH] 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. --- lisp/gnus/nnmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))))))) -- 2.39.5