Variable: cider-ns-save-files-on-refresh-modes
cider-ns-save-files-on-refresh-modes is a customizable variable
defined in cider-ns.el.
Value
(clojure-mode clojure-ts-mode)
Documentation
Controls which files might be saved before refreshing.
If a list of modes, any buffers visiting files on the classpath whose major mode is derived from any of the modes might be saved. If t, all buffers visiting files on the classpath might be saved.
This variable was added, or its default value changed, in cider version 0.21.0.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-ns.el
(defcustom cider-ns-save-files-on-refresh-modes '(clojure-mode clojure-ts-mode)
"Controls which files might be saved before refreshing.
If a list of modes, any buffers visiting files on the classpath whose major
mode is derived from any of the modes might be saved.
If t, all buffers visiting files on the classpath might be saved."
:type '(choice (repeat :tag "Enable for specific modes" symbol)
(const :tag "Always" t))
:group 'cider
:package-version '(cider . "0.21.0"))