Function: org--re-list-looking-at
org--re-list-looking-at is a byte-compiled function defined in
ol.el.gz.
Signature
(org--re-list-looking-at REGEXP-LIST &optional INHIBIT-MODIFY)
Documentation
Like looking-at, but REGEXP-LIST is a list of regexps.
INHIBIT-MODIFY is passed to looking-at.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defun org--re-list-looking-at (regexp-list &optional inhibit-modify)
"Like `looking-at', but REGEXP-LIST is a list of regexps.
INHIBIT-MODIFY is passed to `looking-at'."
(catch :found
(while regexp-list
(when
(if inhibit-modify
(looking-at-p (pop regexp-list))
;; FIXME: In Emacs <29, `looking-at' does not accept
;; optional INHIBIT-MODIFY argument.
(looking-at (pop regexp-list)))
(throw :found t)))))