Function: cider--default-clojure-cli-command
cider--default-clojure-cli-command is a byte-compiled function defined
in cider-jack-in.el.
Signature
(cider--default-clojure-cli-command)
Documentation
Return the auto-detected Clojure CLI command.
Picks "clojure" when found on PATH, else falls back to "powershell"
on Windows. Used as the :default-command-fn for the clojure-cli tool
when cider-clojure-cli-command is nil.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-jack-in.el
(defun cider--default-clojure-cli-command ()
"Return the auto-detected Clojure CLI command.
Picks \"clojure\" when found on PATH, else falls back to \"powershell\"
on Windows. Used as the :default-command-fn for the clojure-cli tool
when `cider-clojure-cli-command' is nil."
(if (and (eq system-type 'windows-nt)
(not (file-remote-p default-directory))
(null (executable-find "clojure")))
"powershell"
"clojure"))