diff options
| author | Katsumi Yamaoka | 2019-04-05 04:25:06 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2019-04-05 04:25:06 +0000 |
| commit | 9da8f22de09c73e9557161fd7bb189138ce1fe2f (patch) | |
| tree | 3daa74e40e94fbb65f28975d45f3fdeb5eb56b3d | |
| parent | a68c96863289d5d8ccfc2f775d0018a2721c5e53 (diff) | |
| download | emacs-9da8f22de09c73e9557161fd7bb189138ce1fe2f.tar.gz emacs-9da8f22de09c73e9557161fd7bb189138ce1fe2f.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.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index f5853a24305..21f0e5951cc 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -9979,7 +9979,7 @@ ACTION can be either `move' (the default), `crosspost' or `copy'." | |||
| 9979 | (crosspost "Crosspost" "Crossposting"))) | 9979 | (crosspost "Crosspost" "Crossposting"))) |
| 9980 | (copy-buf (save-excursion | 9980 | (copy-buf (save-excursion |
| 9981 | (nnheader-set-temp-buffer " *copy article*"))) | 9981 | (nnheader-set-temp-buffer " *copy article*"))) |
| 9982 | art-group to-method new-xref to-groups | 9982 | art-group to-method new-xref article to-groups |
| 9983 | articles-to-update-marks encoded) | 9983 | articles-to-update-marks encoded) |
| 9984 | (unless (assq action names) | 9984 | (unless (assq action names) |
| 9985 | (error "Unknown action %s" action)) | 9985 | (error "Unknown action %s" action)) |
| @@ -10029,7 +10029,8 @@ ACTION can be either `move' (the default), `crosspost' or `copy'." | |||
| 10029 | (or (car select-method) | 10029 | (or (car select-method) |
| 10030 | (gnus-group-decoded-name to-newsgroup)) | 10030 | (gnus-group-decoded-name to-newsgroup)) |
| 10031 | articles) | 10031 | articles) |
| 10032 | (dolist (article articles) | 10032 | (while articles |
| 10033 | (setq article (pop articles)) | ||
| 10033 | ;; Set any marks that may have changed in the summary buffer. | 10034 | ;; Set any marks that may have changed in the summary buffer. |
| 10034 | (when gnus-preserve-marks | 10035 | (when gnus-preserve-marks |
| 10035 | (gnus-summary-push-marks-to-backend article)) | 10036 | (gnus-summary-push-marks-to-backend article)) |