Function: combobulate-nav-get-parents

combobulate-nav-get-parents is a natively compiled function defined in combobulate-navigation.el.

Signature

(combobulate-nav-get-parents NODE &optional SKIP-CURRENT)

Documentation

Finds all navigable parents of NODE.

SKIP-CURRENT removes all nodes where the point at the beginning of the node.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-navigation.el
(defun combobulate-nav-get-parents (node &optional skip-current)
  "Finds all navigable parents of NODE.

SKIP-CURRENT removes all nodes where the point at the beginning
of the node."
  (seq-filter (lambda (node)
                (and (combobulate-navigable-node-p node)
                     (if skip-current
                         (not (combobulate-point-at-beginning-of-node-p node))
                       t)))
              (combobulate-get-parents node)))