Variable: clojure-use-backtracking-indent
clojure-use-backtracking-indent is a customizable variable defined in
clojure-mode.el.
Value
t
Documentation
When non-nil, enable context-sensitive indentation.
When indenting a line, walk up the sexp tree to find a parent
form with an indent spec, then use the current position within
that spec to determine indentation. This is required for forms
with list-based indent specs like letfn, deftype, defrecord,
reify, proxy, etc. Disabling this speeds up indentation but
breaks those forms.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defcustom clojure-use-backtracking-indent t
"When non-nil, enable context-sensitive indentation.
When indenting a line, walk up the sexp tree to find a parent
form with an indent spec, then use the current position within
that spec to determine indentation. This is required for forms
with list-based indent specs like `letfn', `deftype', `defrecord',
`reify', `proxy', etc. Disabling this speeds up indentation but
breaks those forms."
:type 'boolean
:safe 'booleanp)