Function: combobulate-display--determine-parent-tree-node-context

combobulate-display--determine-parent-tree-node-context is a natively compiled function defined in combobulate-display.el.

Signature

(combobulate-display--determine-parent-tree-node-context TREE)

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-display.el
(defun combobulate-display--determine-parent-tree-node-context (tree)
  (list
   ;; bit of a hacky work-around as `combobulate-ztree-lefts' and `combobulate-ztree-rights'
   ;; seem to think the children are the siblings and not the other
   ;; way around?!
   (cons :prev-sibling (not (null (thread-first tree
                                                (combobulate-ztree-up)
                                                (combobulate-ztree-lefts)))))
   (cons :next-sibling (not (null (thread-first tree
                                                (combobulate-ztree-up)
                                                (combobulate-ztree-rights)))))))