Function: message-point-in-header-p

message-point-in-header-p is a byte-compiled function defined in message.el.gz.

Signature

(message-point-in-header-p)

Documentation

Return t if point is in the header.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-point-in-header-p ()
  "Return t if point is in the header."
  (save-excursion
    (save-restriction
      (widen)
      (let ((bound (+ (line-end-position) 1)) case-fold-search)
        (goto-char (point-min))
        (not (search-forward (concat "\n" mail-header-separator "\n")
                             bound t))))))