lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Reverse the list of expired messages only when it was built in reverse order

This commit is contained in:
Alan Schmitt
2014-10-04 23:57:35 +00:00
committed by Katsumi Yamaoka
parent e59070b12c
commit 1dad5c7b82
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2014-10-04 Alan Schmitt <alan.schmitt@polytechnique.org> (tiny change)
* nnimap.el (nnimap-process-expiry-targets): Reverse the list of
expired messages only when it was built in reverse order.
2014-10-04 Peter Münster <pmlists@free.fr> (tiny change)
* gnus-delay.el (gnus-delay-send-queue): Remove `gnus-delay-header'

View File

@@ -986,10 +986,10 @@ textual parts.")
(setq target nil))
(nnheader-message 7 "Expiring article %s:%d" group article))
(when target
(push article deleted-articles))))))))
(push article deleted-articles))))))
(setq deleted-articles (nreverse deleted-articles))))
;; Change back to the current group again.
(nnimap-change-group group server)
(setq deleted-articles (nreverse deleted-articles))
(nnimap-delete-article (gnus-compress-sequence deleted-articles))
deleted-articles))