Function: combobulate-node-range-extent
combobulate-node-range-extent is a natively compiled function defined
in combobulate-navigation.el.
Signature
(combobulate-node-range-extent NODES)
Documentation
Returns the extent -- the smallest node position and the largest -- in NODES
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-navigation.el
(defun combobulate-node-range-extent (nodes)
"Returns the extent -- the smallest node position and the largest -- in NODES"
(let ((smallest most-positive-fixnum)
(largest most-negative-fixnum))
(mapc (lambda (c)
(and c (pcase-let ((`(,start . ,end) (combobulate-node-range c)))
(when (< start smallest)
(setq smallest start))
(when (> end largest)
(setq largest end)))))
nodes)
(cons smallest largest)))