Function: cider--ensure-spec-is-not-invokable

cider--ensure-spec-is-not-invokable is a byte-compiled function defined in cider-connection.el.

Signature

(cider--ensure-spec-is-not-invokable SPEC)

Documentation

Ensures SPEC cannot be invoked as a function.

Invokeable specs are an Emacs 29 feature that we don't intend to use in this context.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-connection.el
(defun cider--ensure-spec-is-not-invokable (spec)
  "Ensures SPEC cannot be invoked as a function.

Invokeable specs are an Emacs 29 feature
that we don't intend to use in this context."
  (let ((spec-char (car spec))
        (spec-value (cdr spec)))
    `(,spec-char
      .
      ,(if (symbolp spec-value)
           (prin1-to-string spec-value)
         spec-value))))