Function: nnheader-get-lines-and-char

nnheader-get-lines-and-char is a byte-compiled function defined in nnheader.el.gz.

Signature

(nnheader-get-lines-and-char)

Documentation

Return the number of lines and chars in the article body.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnheader.el.gz
(defun nnheader-get-lines-and-char ()
  "Return the number of lines and chars in the article body."
  (goto-char (point-min))
  (if (not (re-search-forward "\n\r?\n" nil t))
      (list 0 0)
    (list (count-lines (point) (point-max))
	  (- (point-max) (point)))))