Variable: clojure-cache-ns
clojure-cache-ns is a customizable variable defined in
clojure-mode.el.
Value
nil
Documentation
Whether to cache the results of clojure-find-ns.
Note that this won't work well in buffers with multiple namespace
declarations (which rarely occur in practice) and you'll
have to invalidate this manually after changing the ns for
a buffer. If you update the ns using clojure-update-ns
the cached value will be updated automatically.
This variable was added, or its default value changed, in clojure-mode version 5.8.0.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defcustom clojure-cache-ns nil
"Whether to cache the results of `clojure-find-ns'.
Note that this won't work well in buffers with multiple namespace
declarations (which rarely occur in practice) and you'll
have to invalidate this manually after changing the ns for
a buffer. If you update the ns using `clojure-update-ns'
the cached value will be updated automatically."
:type 'boolean
:safe #'booleanp
:package-version '(clojure-mode . "5.8.0"))