Function: combobulate-ztree-postwalk-replace

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

Signature

(combobulate-ztree-postwalk-replace SMAP KEY)

Documentation

Use SMAP to transform FORM by doing replacing operations.

Recursively replace in FORM keys in SMAP with their values. Does replacement at the leaves of the tree first.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-ztree.el
(defun combobulate-ztree-postwalk-replace (smap form &optional testfn)
  "Use SMAP to transform FORM by doing replacing operations.
Recursively replace in FORM keys in SMAP with their values.
Does replacement at the leaves of the tree first."
  ;; Also see comment in `map-contains-key's definition.
  (declare (advertised-calling-convention (smap key) "0.1.3"))
  (combobulate-ztree-postwalk (lambda (x)
                     (if (with-suppressed-warnings ((callargs map-contains-key))
                           (map-contains-key smap x testfn))
                         (map-elt smap x)
                       x))
                   form))