Function: clojure-indent-region

clojure-indent-region is a byte-compiled function defined in clojure-mode.el.

Signature

(clojure-indent-region BEG END)

Documentation

Like indent-region, but also maybe align forms.

Forms between BEG and END are aligned according to clojure-align-forms-automatically.

Source Code

;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
;;; Indentation
(defun clojure-indent-region (beg end)
  "Like `indent-region', but also maybe align forms.
Forms between BEG and END are aligned according to
`clojure-align-forms-automatically'."
  (prog1 (let ((indent-region-function nil))
           (indent-region beg end))
    (when clojure-align-forms-automatically
      (condition-case nil
          (clojure-align beg end)
        (scan-error nil)))))