Function: cider-eval-sexp-at-point

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

Signature

(cider-eval-sexp-at-point &optional OUTPUT-TO-CURRENT-BUFFER)

Documentation

Evaluate the expression around point.

If invoked with OUTPUT-TO-CURRENT-BUFFER, output the result to current buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-eval-sexp-at-point (&optional output-to-current-buffer)
  "Evaluate the expression around point.
If invoked with OUTPUT-TO-CURRENT-BUFFER, output the result to current buffer."
  (interactive "P")
  (save-excursion
    (goto-char (cadr (cider-sexp-at-point 'bounds)))
    (cider-eval-last-sexp output-to-current-buffer)))