Commit cc419fb5 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Don't inloop gnus-uu-mark-thread on the last thread

* lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
final thread in the summary buffer (bug#16666).
parent 51c77a27
......@@ -641,9 +641,9 @@ When called interactively, prompt for REGEXP."
(interactive)
(gnus-save-hidden-threads
(let ((level (gnus-summary-thread-level)))
(while (and (gnus-summary-set-process-mark
(gnus-summary-article-number))
(while (and (gnus-summary-set-process-mark (gnus-summary-article-number))
(zerop (forward-line 1))
(not (eobp))
(> (gnus-summary-thread-level) level)))))
(gnus-summary-position-point))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment