Function: rmail-sort-by-lines

rmail-sort-by-lines is an autoloaded, interactive and byte-compiled function defined in rmailsort.el.gz.

Signature

(rmail-sort-by-lines REVERSE)

Documentation

Sort messages of current Rmail buffer by the number of lines.

If prefix argument REVERSE is non-nil, sorts in reverse order.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmailsort.el.gz
;;;###autoload
(defun rmail-sort-by-lines (reverse)
  "Sort messages of current Rmail buffer by the number of lines.
If prefix argument REVERSE is non-nil, sorts in reverse order."
  (interactive "P")
  (rmail-sort-messages reverse
		       (lambda (msg)
			 (count-lines (rmail-msgbeg msg)
				      (rmail-msgend msg)))))