Function: cider-doctor--check-startup

cider-doctor--check-startup is a byte-compiled function defined in cider-doctor.el.

Signature

(cider-doctor--check-startup)

Documentation

Report how the current REPL was started.

The jack-in command spells out which aliases were used and which dependencies CIDER injected, which is usually what explains a middleware version mismatch, so it is reported right after the middleware check.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-doctor.el
(defun cider-doctor--check-startup ()
  "Report how the current REPL was started.
The jack-in command spells out which aliases were used and which dependencies
CIDER injected, which is usually what explains a middleware version mismatch,
so it is reported right after the middleware check."
  (let* ((repl (cider-current-repl))
         (params (and repl (buffer-local-value 'cider-launch-params repl)))
         (cmd (plist-get params :jack-in-cmd)))
    (if cmd
        (cider-doctor--result 'info "Started via jack-in" :detail cmd)
      (cider-doctor--result
       'info "Connected to an external nREPL server"
       :detail "CIDER did not start this server, so it injected no dependencies."))))