; Warn of while/dolist pitfall in gnus-sum.el
Suggested by Andy Moreton in the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00294.html * lisp/gnus/gnus-sum.el (gnus-summary-move-article): Add comment warning of common while/dolist pitfall. (bug#33653#134)
This commit is contained in:
parent
90c7e363b7
commit
e1a457e635
1 changed files with 1 additions and 0 deletions
|
@ -10088,6 +10088,7 @@ ACTION can be either `move' (the default), `crosspost' or `copy'."
|
|||
(or (car select-method)
|
||||
(gnus-group-decoded-name to-newsgroup))
|
||||
articles)
|
||||
;; This `while' is not equivalent to a `dolist' (bug#33653#134).
|
||||
(while articles
|
||||
(setq article (pop articles))
|
||||
;; Set any marks that may have changed in the summary buffer.
|
||||
|
|
Loading…
Add table
Reference in a new issue