Function: cider-format-buffer

cider-format-buffer is an autoloaded, interactive and byte-compiled function defined in cider-format.el.

Signature

(cider-format-buffer)

Documentation

Format the Clojure code in the current buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-format.el
;;;###autoload
(defun cider-format-buffer ()
  "Format the Clojure code in the current buffer."
  (interactive)
  (check-parens)
  (cider-ensure-connected)
  (cider--format-buffer (lambda (buf)
                          (cider-sync-request:format-code buf cider-format-code-options))))