Function: mh-components-to-list
mh-components-to-list is a byte-compiled function defined in
mh-comp.el.gz.
Signature
(mh-components-to-list COMPONENTS)
Documentation
Convert the COMPONENTS file to a list of field names and values.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-comp.el.gz
(defun mh-components-to-list (components)
"Convert the COMPONENTS file to a list of field names and values."
(with-current-buffer (get-buffer-create mh-temp-buffer)
(erase-buffer)
(insert-file-contents components)
(goto-char (point-min))
(let
((header-fields nil))
(while (mh-in-header-p)
(setq header-fields (append header-fields (list (mh-extract-header-field))))
(mh-header-field-end)
(forward-char 1)
)
header-fields)))