Variable: clojure-preferred-build-tool
clojure-preferred-build-tool is a customizable variable defined in
clojure-mode.el.
Value
nil
Documentation
Preferred build tool file to identify the project root.
When multiple build tool files are found in the directory hierarchy, this setting controls which one takes precedence.
When nil (the default), prefer directories that also contain a
version-control marker (.git). If that doesn't break the tie,
fall back to the most nested match.
When set to a string (e.g., "deps.edn"), prefer the directory containing that specific file.
This variable was added, or its default value changed, in clojure-mode version 5.22.0.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defcustom clojure-preferred-build-tool nil
"Preferred build tool file to identify the project root.
When multiple build tool files are found in the directory hierarchy,
this setting controls which one takes precedence.
When nil (the default), prefer directories that also contain a
version-control marker (`.git'). If that doesn't break the tie,
fall back to the most nested match.
When set to a string (e.g., \"deps.edn\"), prefer the directory
containing that specific file."
:type '(choice (const :tag "Auto-detect" nil)
(string :tag "Build tool filename"))
:safe (lambda (value) (or (null value) (stringp value)))
:package-version '(clojure-mode . "5.22.0"))