diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2019-09-27 18:03:10 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-09-27 18:03:10 +0200 |
commit | 9ba907a5fbafaa323402ec1cfe4239ebf87a8a0a (patch) | |
tree | 735b2f41151747715d28890d4961ed5c97f56413 /lisp/gnus/gnus-sum.el | |
parent | c86d8d03fbdc545dade5f5ee96d45e0c140f3b82 (diff) | |
download | emacs-9ba907a5fbafaa323402ec1cfe4239ebf87a8a0a.tar.gz |
Run gnus-summary-prepare-exit-hook after flags have been updated
* lisp/gnus/gnus-sum.el (gnus-summary-exit): Gnus message flags
must be set before expiration, not afterwards (bug#21071).
Diffstat (limited to 'lisp/gnus/gnus-sum.el')
-rw-r--r-- | lisp/gnus/gnus-sum.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index f83977ac5b8..20f338eda16 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -7290,7 +7290,6 @@ If FORCE (the prefix), also save the .newsrc file(s)." (gnus-score-adaptive)) (when gnus-use-scoring (gnus-score-save))) - (gnus-run-hooks 'gnus-summary-prepare-exit-hook) (when gnus-use-cache (gnus-cache-possibly-remove-articles) (gnus-cache-save-buffers)) @@ -7307,6 +7306,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." (unless quit-config (gnus-run-hooks 'gnus-exit-group-hook) (gnus-summary-update-info)) + (gnus-run-hooks 'gnus-summary-prepare-exit-hook) (gnus-close-group group) ;; Make sure where we were, and go to next newsgroup. (when (gnus-buffer-live-p gnus-group-buffer) |