Function: gnus-article-sort-by-author

gnus-article-sort-by-author is a byte-compiled function defined in gnus-sum.el.gz.

Signature

(gnus-article-sort-by-author H1 H2)

Documentation

Sort articles by root author.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defsubst gnus-article-sort-by-author (h1 h2)
  "Sort articles by root author."
  (gnus-string<
   (let ((extract (funcall
		   gnus-extract-address-components
		   (mail-header-from h1))))
     (or (car extract) (cadr extract) ""))
   (let ((extract (funcall
		   gnus-extract-address-components
		   (mail-header-from h2))))
     (or (car extract) (cadr extract) ""))))