Function: combobulate-ztree-replace

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

Signature

(combobulate-ztree-replace LOC NODE)

Documentation

Replace the node in this LOC with the given NODE, without moving.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-ztree.el
(defun combobulate-ztree-replace (loc node)
  "Replace the node in this LOC with the given NODE, without moving."
  (let ((context (combobulate-ztree--context loc)))
    (combobulate-ztree--with-meta
     (cons node
           (combobulate-ztree--context-assoc context
                                  ':changed? t))
     (combobulate-ztree--meta loc))))