Function: cider--modern-indent-spec-p

cider--modern-indent-spec-p is a byte-compiled function defined in cider-util.el.

Signature

(cider--modern-indent-spec-p SPEC)

Documentation

Return non-nil if SPEC is a modern tuple-based indent spec.

Modern specs are lists of rules like ((:block N)) or ((:inner D)).

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-util.el
(defun cider--modern-indent-spec-p (spec)
  "Return non-nil if SPEC is a modern tuple-based indent spec.
Modern specs are lists of rules like ((:block N)) or ((:inner D))."
  (and (listp spec)
       spec
       (cl-every (lambda (rule)
                   (and (listp rule)
                        (memq (car rule) '(:block :inner))))
                 spec)))