Function: combobulate-node-in-region-p

combobulate-node-in-region-p is a natively compiled function defined in combobulate-navigation.el.

Signature

(combobulate-node-in-region-p NODE-A)

Documentation

Return t if NODE-A is wholly contained in a region.

Uses point and mark to infer the boundaries.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-navigation.el
(defun combobulate-node-in-region-p (node-a)
  "Return t if NODE-A is wholly contained in a region.

Uses `point' and `mark' to infer the boundaries."
  (and
   (use-region-p)
   (>= (combobulate-node-start node-a)
       (funcall #'min (point) (mark)))
   (<= (combobulate-node-end node-a)
       (funcall #'max (point) (mark)))))