log-edit-extract-headers
log-edit-extract-headers is a compiled Lisp function in `log-edit.el
'.
(log-edit-extract-headers HEADERS COMMENT)
Extract headers from COMMENT to form command line arguments.
HEADERS should be an alist with elements (HEADER . CMDARG)
or (HEADER . FUNCTION) associating headers to command line
options and the result is then a list of the form (MSG ARGUMENTS...)
where MSG is the remaining text from COMMENT.
FUNCTION should be a function of one argument that takes the
header value and returns the list of strings to be appended to
ARGUMENTS. CMDARG will be added to ARGUMENTS followed by the
header value. If "Summary" is not in HEADERS, then the
"Summary" header is extracted anyway and put back as the first
line of MSG.