Function: verb-util--object-intervals
verb-util--object-intervals is a natively compiled function defined in
verb-util.el.
Signature
(verb-util--object-intervals OBJECT)
Documentation
Call function object-intervals on OBJECT if possible.
Otherwise, or if calling the function returns nil, return a single interval covering the whole object, with no properties.
Source Code
;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb-util.el
(defun verb-util--object-intervals (object)
"Call function `object-intervals' on OBJECT if possible.
Otherwise, or if calling the function returns nil, return a single
interval covering the whole object, with no properties."
;; TODO: Update once Verb depends on Emacs 28.1+.
(let ((default (list (list 0 (length object) nil))))
(if (fboundp 'object-intervals)
(or (funcall #'object-intervals object)
default)
default)))