diff options
| author | Alan Schmitt | 2014-10-04 23:57:35 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2014-10-04 23:57:35 +0000 |
| commit | 1dad5c7b82fc9aa246e4efc15e26b6b89ef36fc6 (patch) | |
| tree | 53229c8acdcef9ecc81ef8d3fbe08bb1dbd2e22a | |
| parent | e59070b12cee02f42c9b796037faee7672f5b889 (diff) | |
| download | emacs-1dad5c7b82fc9aa246e4efc15e26b6b89ef36fc6.tar.gz emacs-1dad5c7b82fc9aa246e4efc15e26b6b89ef36fc6.zip | |
lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Reverse the list of expired messages only when it was built in reverse order
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f9702cd48f5..728858c281b 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-10-04 Alan Schmitt <alan.schmitt@polytechnique.org> (tiny change) | ||
| 2 | |||
| 3 | * nnimap.el (nnimap-process-expiry-targets): Reverse the list of | ||
| 4 | expired messages only when it was built in reverse order. | ||
| 5 | |||
| 1 | 2014-10-04 Peter Münster <pmlists@free.fr> (tiny change) | 6 | 2014-10-04 Peter Münster <pmlists@free.fr> (tiny change) |
| 2 | 7 | ||
| 3 | * gnus-delay.el (gnus-delay-send-queue): Remove `gnus-delay-header' | 8 | * gnus-delay.el (gnus-delay-send-queue): Remove `gnus-delay-header' |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 1730bd4252c..ad48d4737a5 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -986,10 +986,10 @@ textual parts.") | |||
| 986 | (setq target nil)) | 986 | (setq target nil)) |
| 987 | (nnheader-message 7 "Expiring article %s:%d" group article)) | 987 | (nnheader-message 7 "Expiring article %s:%d" group article)) |
| 988 | (when target | 988 | (when target |
| 989 | (push article deleted-articles)))))))) | 989 | (push article deleted-articles)))))) |
| 990 | (setq deleted-articles (nreverse deleted-articles)))) | ||
| 990 | ;; Change back to the current group again. | 991 | ;; Change back to the current group again. |
| 991 | (nnimap-change-group group server) | 992 | (nnimap-change-group group server) |
| 992 | (setq deleted-articles (nreverse deleted-articles)) | ||
| 993 | (nnimap-delete-article (gnus-compress-sequence deleted-articles)) | 993 | (nnimap-delete-article (gnus-compress-sequence deleted-articles)) |
| 994 | deleted-articles)) | 994 | deleted-articles)) |
| 995 | 995 | ||