Function: gnus-sort-gathered-threads

gnus-sort-gathered-threads is a byte-compiled function defined in gnus-sum.el.gz.

Signature

(gnus-sort-gathered-threads THREADS)

Documentation

Sort subthreads inside each gathered thread.

Sorting is done by gnus-sort-gathered-threads-function.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-sort-gathered-threads (threads)
  "Sort subthreads inside each gathered thread.
Sorting is done by `gnus-sort-gathered-threads-function'."
  (let ((result threads))
    (while threads
      (when (stringp (caar threads))
	(setcdr (car threads)
		(sort (cdar threads) gnus-sort-gathered-threads-function)))
      (setq threads (cdr threads)))
    result))