File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2102,7 +2102,13 @@ Quitting closes all active nREPL connections and kills all CIDER buffers."
2102
2102
(when connection
2103
2103
(nrepl-close connection)))
2104
2104
(message " All active nREPL connections were closed " )
2105
- (cider-close-ancillary-buffers)))
2105
+ (cider-close-ancillary-buffers)
2106
+ ; ; clean the cached ns forms in all Clojure buffers
2107
+ ; ; as we don't track which buffer is associated with
2108
+ ; ; which connection we simply clean the cache for all buffers
2109
+ (dolist (clojure-buffer (cider-util--clojure-buffers))
2110
+ (with-current-buffer clojure-buffer
2111
+ (setq cider--cached-ns-form nil )))))
2106
2112
2107
2113
(defun cider-restart (&optional prompt-project )
2108
2114
" Quit CIDER and restart it.
You can’t perform that action at this time.
0 commit comments