Function: cider--check-clojure-version-supported

cider--check-clojure-version-supported is a byte-compiled function defined in cider-connection.el.

Signature

(cider--check-clojure-version-supported)

Documentation

Ensure that we are meeting the minimum supported version of Clojure.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-connection.el
(defun cider--check-clojure-version-supported ()
  "Ensure that we are meeting the minimum supported version of Clojure."
  (when-let* ((clojure-version (cider--clojure-version))
              ;; drop all qualifiers from the version string
              ;; e.g. 1.10.0-master-SNAPSHOT becomes simply 1.10.0
              (clojure-version (car (split-string clojure-version "-"))))
    (when (version< clojure-version cider-minimum-clojure-version)
      (cider-emit-manual-warning "basics/installation.html#prerequisites"
                                 "Clojure version (%s) is not supported (minimum %s). CIDER will not work."
                                 clojure-version cider-minimum-clojure-version))))