Function: combobulate-ztree-down
combobulate-ztree-down is a natively compiled function defined in
combobulate-ztree.el.
Signature
(combobulate-ztree-down LOC)
Documentation
Return the loc of the leftmost child of the node at this LOC.
nil if no children.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-ztree.el
;;;; Navigation
(defun combobulate-ztree-down (loc)
"Return the loc of the leftmost child of the node at this LOC.
nil if no children."
(when (combobulate-ztree-branch-p loc)
(let ((children (combobulate-ztree-children loc)))
(combobulate-ztree--with-loc loc (node context pnodes)
(seq-let [c &rest cs] children
(when children
(combobulate-ztree--with-meta
`(,c . ((:l . ,nil)
(:pnodes . ,(if context (cons node pnodes) (list node)))
(:ppath . ,context)
(:r . ,cs)))
(combobulate-ztree--meta loc))))))))