Function: clojure--valid-indent-spec-p
clojure--valid-indent-spec-p is a byte-compiled function defined in
clojure-mode.el.
Signature
(clojure--valid-indent-spec-p SPEC)
Documentation
Check that the indentation SPEC (quoted if a list) is valid.
Accepts both modern tuple format and legacy positional format.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defun clojure--valid-indent-spec-p (spec)
"Check that the indentation SPEC (quoted if a list) is valid.
Accepts both modern tuple format and legacy positional format."
(or (integerp spec)
(and (keywordp spec) (memq spec '(:form :defn)))
(and (listp spec)
(= 2 (length spec))
(eq 'quote (car spec))
(clojure--valid-unquoted-indent-spec-p (cadr spec)))))