Function: cider-eval-print-form
cider-eval-print-form is an interactive and byte-compiled function
defined in cider-eval.el.
Signature
(cider-eval-print-form &optional PRETTY-PRINT)
Documentation
Evaluate the form point indicates.
Print its value into the current buffer.
How the expression is located is controlled by cider-form-targeting.
With an optional PRETTY-PRINT prefix it pretty-prints the result.
Key Bindings
Aliases
cider-eval-print-last-sexp (obsolete since 2.1.0)
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-eval-print-form (&optional pretty-print)
"Evaluate the form point indicates.
Print its value into the current buffer.
How the expression is located is controlled by `cider-form-targeting'.
With an optional PRETTY-PRINT prefix it pretty-prints the result."
(interactive "P")
(cider-interactive-eval nil
(cider-eval-print-handler)
(cider-last-sexp 'bounds)
(if pretty-print
(cider--nrepl-print-request-plist fill-column)
(cider--nrepl-pr-request-plist))))