Function: combobulate-display-draw-tree-1

combobulate-display-draw-tree-1 is a natively compiled function defined in combobulate-display.el.

Signature

(combobulate-display-draw-tree-1 TREE &optional HIGHLIGHTED-NODE)

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-display.el
(defun combobulate-display-draw-tree-1 (tree &optional highlighted-node)
  (let ((drawing))
    (while (and (setq tree (combobulate-ztree-next tree))
                (not (combobulate-ztree-end-p tree)))
      (when (not (combobulate-ztree-branch-p tree))
        (push (combobulate-display--draw-node
               tree (and highlighted-node
                         (or (equal (combobulate-ztree-node tree)
                                    highlighted-node))))
              drawing)))
    (string-join (reverse drawing) "\n")))