Function: cider-format-defun
cider-format-defun is an autoloaded, interactive and byte-compiled
function defined in cider-format.el.
Signature
(cider-format-defun)
Documentation
Format the code in the current defun.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-format.el
;;; Format defun
;;;###autoload
(defun cider-format-defun ()
"Format the code in the current defun."
(interactive)
(cider-ensure-connected)
(let ((defun-bounds (cider-defun-at-point 't)))
(cider-format-region (car defun-bounds) (cadr defun-bounds))))