mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-16 02:40:03 +00:00
lisp/ol.el (org--re-list-looking-at): Fix Emacs <29 compatibility
This commit is contained in:
parent
c88da815ed
commit
b127d7257e
|
@ -2206,7 +2206,12 @@ BOUND, NOERROR, and COUNT are passed to `re-search-forward'."
|
|||
INHIBIT-MODIFY is passed to `looking-at'."
|
||||
(catch :found
|
||||
(while regexp-list
|
||||
(when (looking-at (pop regexp-list) inhibit-modify)
|
||||
(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)))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Reference in a new issue