Function: combobulate-display-tree-parents
combobulate-display-tree-parents is a natively compiled function
defined in combobulate-display.el.
Signature
(combobulate-display-tree-parents LOC)
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-display.el
(defun combobulate-display-tree-parents (loc)
(let ((parents))
(while (setq loc (combobulate-ztree-up loc))
;; parent of root node is root node.. which is a bit odd.
(when (and (combobulate-ztree-up loc) (car-safe (combobulate-ztree-node (combobulate-ztree-up loc))))
(when-let (node (car (combobulate-ztree-node loc)))
(push loc parents))))
(reverse parents)))