diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-12 16:53:07 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-12 16:53:07 +0200 |
commit | f4692fa290e4dca3a636f6872a9b4bc61797b008 (patch) | |
tree | c9cf8af9569679ad9fa1210b2485b28b9487bc24 /lisp/gnus/nnmail.el | |
parent | c0593bfc7c37d73ef65c4dad4071495200fd76e4 (diff) | |
download | emacs-f4692fa290e4dca3a636f6872a9b4bc61797b008.tar.gz emacs-f4692fa290e4dca3a636f6872a9b4bc61797b008.tar.bz2 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.
Diffstat (limited to 'lisp/gnus/nnmail.el')
-rw-r--r-- | lisp/gnus/nnmail.el | 2 |
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." (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)))))))) |