aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-04-12 16:53:07 +0200
committerLars Ingebrigtsen2018-04-12 16:53:07 +0200
commitf4692fa290e4dca3a636f6872a9b4bc61797b008 (patch)
treec9cf8af9569679ad9fa1210b2485b28b9487bc24
parentc0593bfc7c37d73ef65c4dad4071495200fd76e4 (diff)
downloademacs-f4692fa290e4dca3a636f6872a9b4bc61797b008.tar.gz
emacs-f4692fa290e4dca3a636f6872a9b4bc61797b008.zip
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.
-rw-r--r--lisp/gnus/nnmail.el2
1 files changed, 1 insertions, 1 deletions
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."
1900 (unless (eq target 'delete) 1900 (unless (eq target 'delete)
1901 (when (or (gnus-request-group target nil nil (gnus-get-info target)) 1901 (when (or (gnus-request-group target nil nil (gnus-get-info target))
1902 (gnus-request-create-group target)) 1902 (gnus-request-create-group target))
1903 (let ((group-art (gnus-request-accept-article target nil nil t))) 1903 (let ((group-art (gnus-request-accept-article target nil t t)))
1904 (when (and (consp group-art) 1904 (when (and (consp group-art)
1905 (cdr group-art)) 1905 (cdr group-art))
1906 (gnus-group-mark-article-read target (cdr group-art)))))))) 1906 (gnus-group-mark-article-read target (cdr group-art))))))))