Function: cider--resolve-project-command

cider--resolve-project-command is a byte-compiled function defined in cider.el.

Signature

(cider--resolve-project-command COMMAND)

Documentation

Find COMMAND in project dir or exec path (see variable exec-path(var)/exec-path(fun)).

If COMMAND starts with ./ or ../ resolve relative to clojure-project-dir, otherwise resolve via cider--resolve-command.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defun cider--resolve-project-command (command)
  "Find COMMAND in project dir or exec path (see variable `exec-path').
If COMMAND starts with ./ or ../ resolve relative to `clojure-project-dir',
otherwise resolve via `cider--resolve-command'."
  (if (string-match-p "\\`\\.\\{1,2\\}/" command)
      (locate-file command (list (clojure-project-dir)) '("" ".bat") 'executable)
    (cider--resolve-command command)))