Function: cider-read-and-eval-defun-at-point

cider-read-and-eval-defun-at-point is an interactive and byte-compiled function defined in cider-eval.el.

Signature

(cider-read-and-eval-defun-at-point)

Documentation

Insert the toplevel form at point in the minibuffer and output its result.

The point is placed next to the function name in the minibuffer to allow passing arguments.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-read-and-eval-defun-at-point ()
  "Insert the toplevel form at point in the minibuffer and output its result.
The point is placed next to the function name in the minibuffer to allow
passing arguments."
  (interactive)
  (let* ((fn-name (cadr (split-string (cider-defun-at-point))))
         (form (format "(%s)" fn-name)))
    (cider-read-and-eval (cons form (length form)))))