aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2019-04-05 04:25:06 +0000
committerBasil L. Contovounesios2019-04-08 23:55:09 +0100
commit3e5e097fdf056f4b3440993dd25ebdbad436abc3 (patch)
tree343aae19fd294e95f199a59f11a4b7f30d901a24
parent36dc39bfbf1a307769bd62dbe1311a1935737b51 (diff)
downloademacs-3e5e097fdf056f4b3440993dd25ebdbad436abc3.tar.gz
emacs-3e5e097fdf056f4b3440993dd25ebdbad436abc3.zip
Make `move article' work again (bug#33653)
* lisp/gnus/gnus-sum.el (gnus-summary-move-article): Back to while loop m dolist that blocks nov and active from saving (bug#33653).
-rw-r--r--lisp/gnus/gnus-sum.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index fd72e1d3abb..8959a2b3d0a 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -10038,7 +10038,7 @@ ACTION can be either `move' (the default), `crosspost' or `copy'."
10038 (crosspost "Crosspost" "Crossposting"))) 10038 (crosspost "Crosspost" "Crossposting")))
10039 (copy-buf (save-excursion 10039 (copy-buf (save-excursion
10040 (nnheader-set-temp-buffer " *copy article*"))) 10040 (nnheader-set-temp-buffer " *copy article*")))
10041 art-group to-method new-xref to-groups 10041 art-group to-method new-xref article to-groups
10042 articles-to-update-marks encoded) 10042 articles-to-update-marks encoded)
10043 (unless (assq action names) 10043 (unless (assq action names)
10044 (error "Unknown action %s" action)) 10044 (error "Unknown action %s" action))
@@ -10088,7 +10088,8 @@ ACTION can be either `move' (the default), `crosspost' or `copy'."
10088 (or (car select-method) 10088 (or (car select-method)
10089 (gnus-group-decoded-name to-newsgroup)) 10089 (gnus-group-decoded-name to-newsgroup))
10090 articles) 10090 articles)
10091 (dolist (article articles) 10091 (while articles
10092 (setq article (pop articles))
10092 ;; Set any marks that may have changed in the summary buffer. 10093 ;; Set any marks that may have changed in the summary buffer.
10093 (when gnus-preserve-marks 10094 (when gnus-preserve-marks
10094 (gnus-summary-push-marks-to-backend article)) 10095 (gnus-summary-push-marks-to-backend article))