Function: clojure--replace-sexps-with-bindings

clojure--replace-sexps-with-bindings is a byte-compiled function defined in clojure-mode.el.

Signature

(clojure--replace-sexps-with-bindings BINDINGS)

Documentation

Replace bindings with their respective bound names in the let form.

BINDINGS is the list of bound names and init expressions.

Source Code

;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defun clojure--replace-sexps-with-bindings (bindings)
  "Replace bindings with their respective bound names in the let form.

BINDINGS is the list of bound names and init expressions."
  (let ((bound-name (pop bindings))
        (init-expr (pop bindings)))
    (when bound-name
      (clojure--replace-sexp-with-binding bound-name init-expr)
      (clojure--replace-sexps-with-bindings bindings))))