Function: combobulate-ztree-insert-right

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

Signature

(combobulate-ztree-insert-right LOC ITEM)

Documentation

Insert as the right 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
(defun combobulate-ztree-insert-right (loc item)
  "Insert as the right sibling of this LOC's node the ITEM.
Return same loc with sibilings updated."
  (combobulate-ztree--with-loc loc (node context r)
    (if (not context)
        (error "Insert at top")
      (combobulate-ztree--with-meta
       (cons node
             (combobulate-ztree--context-assoc context
                                    ':r (cons item r)
                                    ':changed? t))
       (combobulate-ztree--meta loc)))))