Variable: cider-auto-mode
cider-auto-mode is a customizable variable defined in
cider-connection.el.
Value
t
Documentation
When non-nil, automatically enable and disable CIDER in all Clojure buffers.
After an initial connection, cider-mode(var)/cider-mode(fun) is added to clojure-mode-hook and
automatically enabled on all existing Clojure buffers. After the last
connection has been closed, cider-mode(var)/cider-mode(fun) is disabled in all Clojure buffers, and
has to be manually re-enabled via M-x cider-mode (cider-mode).
Useful for switching between alternative minor modes like inf-clojure-mode.
This variable was added, or its default value changed, in cider version 0.9.0.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-connection.el
(defcustom cider-auto-mode t
"When non-nil, automatically enable and disable CIDER in all Clojure buffers.
After an initial connection, `cider-mode' is added to `clojure-mode-hook' and
automatically enabled on all existing Clojure buffers. After the last
connection has been closed, `cider-mode' is disabled in all Clojure buffers, and
has to be manually re-enabled via \\[cider-mode].
Useful for switching between alternative minor modes like `inf-clojure-mode'."
:type 'boolean
:group 'cider
:safe #'booleanp
:package-version '(cider . "0.9.0"))