Function: cider-doctor--check-exec-path
cider-doctor--check-exec-path is a byte-compiled function defined in
cider-doctor.el.
Signature
(cider-doctor--check-exec-path)
Documentation
Flag the classic GUI-Emacs PATH mismatch.
When Emacs was launched from a GUI on macOS it often inherits a minimal
PATH, so jack-in fails to find clojure or lein even though they work
in a shell.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-doctor.el
(defun cider-doctor--check-exec-path ()
"Flag the classic GUI-Emacs PATH mismatch.
When Emacs was launched from a GUI on macOS it often inherits a minimal
PATH, so jack-in fails to find `clojure' or `lein' even though they work
in a shell."
(if (or (not (memq window-system '(ns mac)))
(seq-some #'executable-find '("clojure" "clj" "lein" "bb")))
(cider-doctor--result 'ok "exec-path can find a Clojure build tool")
(cider-doctor--result 'warn "No Clojure build tool on exec-path"
:detail "GUI Emacs may not inherit your shell PATH."
:hint "Try the exec-path-from-shell package."
:section "basics/installation.html")))