Function: cider--format-buffer

cider--format-buffer is a byte-compiled function defined in cider-format.el.

Signature

(cider--format-buffer FORMATTER)

Documentation

Format the contents of the current buffer.

Uses FORMATTER, a function of one argument, to convert the string contents of the buffer into a formatted string.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-format.el
;;; Format buffer

(defun cider--format-buffer (formatter)
  "Format the contents of the current buffer.

Uses FORMATTER, a function of one argument, to convert the string contents
of the buffer into a formatted string."
  (cider--format-region 1 (1+ (buffer-size)) formatter))