Function: cider-enlighten-defun

cider-enlighten-defun is an autoloaded, interactive and byte-compiled function defined in cider-enlighten.el.

Signature

(cider-enlighten-defun)

Documentation

Evaluate the top-level form at point with enlightenment enabled.

This is like enabling cider-enlighten-mode(var)/cider-enlighten-mode(fun) and evaluating the form, but scoped to this single evaluation, so you needn't toggle the global mode on and off (and re-evaluate everything) just to light up one definition.

Key Bindings

Aliases

cider-enlighten-defun-at-point (obsolete since 2.1.0)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-enlighten.el
;;;###autoload
(defun cider-enlighten-defun ()
  "Evaluate the top-level form at point with enlightenment enabled.
This is like enabling `cider-enlighten-mode' and evaluating the form, but
scoped to this single evaluation, so you needn't toggle the global mode on
and off (and re-evaluate everything) just to light up one definition."
  (interactive)
  (setq cider-enlighten--suppress nil)
  (let ((cider-enlighten-mode t))
    (cider-eval-defun)))