Function: cider-eval-dwim
cider-eval-dwim is an interactive and byte-compiled function defined
in cider-eval.el.
Signature
(cider-eval-dwim &optional DEBUG-IT)
Documentation
If no region is active, call cider-eval-defun-at-point with DEBUG-IT.
If a region is active, run cider-eval-region.
Always binds clojure-toplevel-inside-comment-form to t.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-eval-dwim (&optional debug-it)
"If no region is active, call `cider-eval-defun-at-point' with DEBUG-IT.
If a region is active, run `cider-eval-region'.
Always binds `clojure-toplevel-inside-comment-form' to t."
(interactive "P")
(let ((clojure-toplevel-inside-comment-form t))
(if (use-region-p)
(cider-eval-region (region-beginning) (region-end))
(cider-eval-defun-at-point debug-it))))