Function: mh-goto-header-field
mh-goto-header-field is an autoloaded and byte-compiled function
defined in mh-utils.el.gz.
Signature
(mh-goto-header-field FIELD)
Documentation
Move to FIELD in the message header.
Move to the end of the FIELD name, which should end in a colon. Returns t if found, nil if not.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-utils.el.gz
;;;###mh-autoload
(defun mh-goto-header-field (field)
"Move to FIELD in the message header.
Move to the end of the FIELD name, which should end in a colon.
Returns t if found, nil if not."
(goto-char (point-min))
(let ((case-fold-search t)
(headers-end (save-excursion
(mh-goto-header-end 0)
(point))))
(re-search-forward (format "^%s" field) headers-end t)))