Function: cider-insert-defun-in-repl

cider-insert-defun-in-repl is an interactive and byte-compiled function defined in cider-mode.el.

Signature

(cider-insert-defun-in-repl &optional ARG)

Documentation

Insert the top level form at point in the REPL buffer.

If invoked with a prefix ARG eval the expression after inserting it.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-mode.el
(defun cider-insert-defun-in-repl (&optional arg)
  "Insert the top level form at point in the REPL buffer.
If invoked with a prefix ARG eval the expression after inserting it."
  (interactive "P")
  (cider-insert-in-repl (cider-defun-at-point) arg))