lm-section-end

lm-section-end is a compiled Lisp function in `lisp-mnt.el'.

(lm-section-end HEADER)

Return the buffer location of the end of a given section.
The HEADER is the section string marking the beginning of the
section. If the given section does not exist, return nil.

The section ends before the first non-comment text or the next
section of the same level or lower; whatever comes first. The
function `lisp-outline-level' is used to compute the level of
a section.