Skip to content

Commit 396f93e

Browse files
committed
Disable ns caching by default
See clojure-emacs/cider@122a40f for details. TLDR - people would change their ns from time to time and forget to invalidate the cached version. As I can't come up with a smart invalidation strategy I decided to limit the scope of the caching instead.
1 parent fd67f64 commit 396f93e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changes
66

77
* Require Emacs 25.1+.
8+
* Disable ns caching by default.
89

910
## 5.8.1 (2018-07-03)
1011

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ content) are considered part of the preceding sexp."
18191819
(zero-or-one (any ":'")) ;; (in-ns 'foo) or (ns+ :user)
18201820
(group (one-or-more (not (any "()\"" whitespace))) symbol-end)))
18211821

1822-
(defcustom clojure-cache-ns t
1822+
(defcustom clojure-cache-ns nil
18231823
"Whether to cache the results of `clojure-find-ns'.
18241824
18251825
Note that this won't work well in buffers with multiple namespace

0 commit comments

Comments
 (0)