Function: cider-eval-form-to-repl

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

Signature

(cider-eval-form-to-repl &optional PREFIX)

Documentation

Evaluate the form point indicates and insert its result in the REPL.

How the expression is located is controlled by cider-form-targeting. If invoked with a PREFIX argument, switch to the REPL buffer.

Key Bindings

Aliases

cider-eval-last-sexp-to-repl (obsolete since 2.1.0)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-eval-form-to-repl (&optional prefix)
  "Evaluate the form point indicates and insert its result in the REPL.
How the expression is located is controlled by `cider-form-targeting'.
If invoked with a PREFIX argument, switch to the REPL buffer."
  (interactive "P")
  (cider--eval-form-to-repl prefix (cider--nrepl-pr-request-plist)))