Function: cider--jack-in-tool-command
cider--jack-in-tool-command is a byte-compiled function defined in
cider-jack-in.el.
Signature
(cider--jack-in-tool-command SPEC)
Documentation
Return the command for tool SPEC.
Prefers a non-nil value of the :command-var, falling back to the result of :default-command-fn when the var is nil or unset. Returns nil if neither produces a value.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-jack-in.el
(defun cider--jack-in-tool-command (spec)
"Return the command for tool SPEC.
Prefers a non-nil value of the :command-var, falling back to the result
of :default-command-fn when the var is nil or unset. Returns nil if
neither produces a value."
(or (when-let* ((var (plist-get spec :command-var))) (symbol-value var))
(when-let* ((fn (plist-get spec :default-command-fn))) (funcall fn))))