Function: hs-find-next-block
hs-find-next-block is a byte-compiled function defined in
hideshow.el.gz.
Signature
(hs-find-next-block REGEXP MAXP COMMENTS)
Documentation
Reposition point at next block-start.
Skip comments if COMMENTS is nil, and search for REGEXP in region (point MAXP).
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defun hs-find-next-block (regexp maxp comments)
"Reposition point at next block-start.
Skip comments if COMMENTS is nil, and search for REGEXP in
region (point MAXP)."
(when (not comments)
(forward-comment (point-max)))
(and (< (point) maxp)
(re-search-forward regexp maxp t)))