Function: clojure--read-let-bindings
clojure--read-let-bindings is a byte-compiled function defined in
clojure-mode.el.
Signature
(clojure--read-let-bindings)
Documentation
Read the bound-name and init expression pairs in the binding form.
Return a list: odd elements are bound names, even elements init expressions.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defun clojure--read-let-bindings ()
"Read the bound-name and init expression pairs in the binding form.
Return a list: odd elements are bound names, even elements init expressions."
(clojure--goto-let)
(down-list 2)
(let* ((start (point))
(sexp-start start)
(end (save-excursion
(backward-char)
(forward-sexp)
(down-list -1)
(point)))
bindings)
(while (/= sexp-start end)
(forward-sexp)
(push
(string-trim (buffer-substring-no-properties sexp-start (point)))
bindings)
(skip-chars-forward "\r\n\t[:blank:]")
(setq sexp-start (point)))
(nreverse bindings)))