Function: cider-eval-form

cider-eval-form is an interactive and byte-compiled function defined in cider-eval.el.

Signature

(cider-eval-form &optional OUTPUT-TO-CURRENT-BUFFER)

Documentation

Evaluate the form point indicates.

How the expression is located is controlled by cider-form-targeting. If invoked with OUTPUT-TO-CURRENT-BUFFER, print the result in the current buffer.

Key Bindings

Aliases

cider-eval-last-sexp (obsolete since 2.1.0) cider-eval-sexp-at-point (obsolete since 2.1.0) cider-eval-list-at-point (obsolete since 2.1.0)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-eval-form (&optional output-to-current-buffer)
  "Evaluate the form point indicates.
How the expression is located is controlled by `cider-form-targeting'.
If invoked with OUTPUT-TO-CURRENT-BUFFER, print the result in the current
buffer."
  (interactive "P")
  (cider-interactive-eval nil
                          (when output-to-current-buffer (cider-eval-print-handler))
                          (cider-last-sexp 'bounds)
                          (cider--nrepl-pr-request-plist)))