Function: hs-find-next-block-fn--default

hs-find-next-block-fn--default is a byte-compiled function defined in hideshow.el.gz.

Signature

(hs-find-next-block-fn--default REGEXP BOUND COMMENTS)

Documentation

Reposition point at next block-start.

Skip comments if COMMENTS is nil, and search for REGEXP in region (point BOUND).

Aliases

hs-find-next-block (obsolete since 31.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defun hs-find-next-block-fn--default (regexp bound comments)
  "Reposition point at next block-start.
Skip comments if COMMENTS is nil, and search for REGEXP in
region (point BOUND)."
  (when (not comments)
    (forward-comment (point-max)))
  (and (< (point) bound)
       (re-search-forward regexp bound t)))