@@ -1700,6 +1700,15 @@ accepted by `clojure-indent-style'."
17001700 ; ; Car of form is not a symbol.
17011701 (not (looking-at " .\\ (?:\\ sw\\ |\\ s_\\ )" ))))
17021702
1703+ (defcustom clojure-enable-indent-specs t
1704+ " Control whether to honor indent specs.
1705+ They can be either set via metadata on the function/macro, or via
1706+ `define-clojure-indent' . Set this to nil to get uniform
1707+ formatting of all forms."
1708+ :type 'boolean
1709+ :safe #'booleanp
1710+ :package-version '(clojure-mode . " 5.19.0" ))
1711+
17031712; ; Check the general context, and provide indentation for data structures and
17041713; ; special macros. If current form is a function (or non-special macro),
17051714; ; delegate indentation to `clojure--normal-indent' .
@@ -1850,15 +1859,6 @@ Requires the macro's NAME and a VALUE."
18501859 (put-clojure-indent x 'defun ))
18511860 value))
18521861
1853- (defcustom clojure-enable-indent-specs t
1854- " Control whether to honor indent specs.
1855- They can be either set via metadata on the function/macro, or via
1856- `define-clojure-indent' . Set this to nil to get uniform
1857- formatting of all forms."
1858- :type 'boolean
1859- :safe #'booleanp
1860- :package-version '(clojure-mode . " 5.19.0" ))
1861-
18621862(defcustom clojure-defun-indents nil
18631863 " List of additional symbols with defun-style indentation in Clojure.
18641864
0 commit comments