Function: cider-ns-state-setup
cider-ns-state-setup is a byte-compiled function defined in
cider-ns-state.el.
Signature
(cider-ns-state-setup)
Documentation
Enable namespace load-state tracking in the current buffer.
Registers a buffer-local focus hook so the state is checked when you switch
to the buffer. Intended to be called when cider-mode(var)/cider-mode(fun) is enabled.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-ns-state.el
(defun cider-ns-state-setup ()
"Enable namespace load-state tracking in the current buffer.
Registers a buffer-local focus hook so the state is checked when you switch
to the buffer. Intended to be called when `cider-mode' is enabled."
(add-hook 'window-selection-change-functions
#'cider-ns-state--refresh-on-focus nil 'local))