Function: mh-letter-next-header-field
mh-letter-next-header-field is an autoloaded and byte-compiled
function defined in mh-letter.el.gz.
Signature
(mh-letter-next-header-field)
Documentation
Cycle to the next header field.
If we are at the last header field go to the start of the message body.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-letter.el.gz
;;;###mh-autoload
(defun mh-letter-next-header-field ()
"Cycle to the next header field.
If we are at the last header field go to the start of the message
body."
(let ((header-end (mh-mail-header-end)))
(cond ((>= (point) header-end) (goto-char (point-min)))
((< (point) (progn
(beginning-of-line)
(re-search-forward mh-letter-header-field-regexp
(mh-line-end-position) t)
(point)))
(beginning-of-line))
(t (end-of-line)))
(cond ((re-search-forward mh-letter-header-field-regexp header-end t)
(if (mh-letter-skipped-header-field-p (match-string 1))
(mh-letter-next-header-field)
(mh-letter-skip-leading-whitespace-in-header-field)))
(t (goto-char header-end)
(forward-line)))))