Function: combobulate-ztree-insert-left

combobulate-ztree-insert-left is a natively compiled function defined in combobulate-ztree.el.

Signature

(combobulate-ztree-insert-left LOC ITEM)

Documentation

Insert as the left sibling of this LOC'S node the ITEM.

Return same loc with sibilings updated.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-ztree.el
;;;; Modification

(defun combobulate-ztree-insert-left (loc item)
  "Insert as the left sibling of this LOC'S node the ITEM.
Return same loc with sibilings updated."
  (combobulate-ztree--with-loc loc (node context l)
    (if (not context)
        (error "Insert at top")
      (combobulate-ztree--with-meta
       (cons node
             (combobulate-ztree--context-assoc context
                                    ':l (cons item l)
                                    ':changed? t))
       (combobulate-ztree--meta loc)))))