Function: message-narrow-to-headers-or-head
message-narrow-to-headers-or-head is a byte-compiled function defined
in message.el.gz.
Signature
(message-narrow-to-headers-or-head)
Documentation
Narrow the buffer to the head of the message.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-narrow-to-headers-or-head ()
"Narrow the buffer to the head of the message."
(widen)
(narrow-to-region
(goto-char (point-min))
(if (re-search-forward (concat "\\(\n\\)\n\\|^\\("
(regexp-quote mail-header-separator)
"\n\\)")
nil t)
(or (match-end 1) (match-beginning 2))
(point-max)))
(goto-char (point-min)))