From: Andrew G Cohen Date: Mon, 10 Apr 2023 03:34:43 +0000 (+0800) Subject: * lisp/gnus/nnselect.el (nnselect-push-info): Sort artlist X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0724e0aeb5be7c60cd76c6afc8e22ed47d9c85bd;p=emacs.git * lisp/gnus/nnselect.el (nnselect-push-info): Sort artlist --- diff --git a/lisp/gnus/nnselect.el b/lisp/gnus/nnselect.el index 9a2957c9f52..af4dbdc35df 100644 --- a/lisp/gnus/nnselect.el +++ b/lisp/gnus/nnselect.el @@ -909,6 +909,7 @@ article came from is also searched." ;; now work on each originating group one at a time (pcase-dolist (`(,artgroup . ,artlist) (numbers-by-group gnus-newsgroup-articles)) + (setq artlist (sort artlist #'<)) (let* ((group-info (gnus-get-info artgroup)) (old-unread (gnus-list-of-unread-articles artgroup)) newmarked delta-marks)