summaryrefslogtreecommitdiff
path: root/cider-mode.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-03-26 07:42:38 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2016-03-26 07:44:25 +0200
commit742d36f5281fe4efafeb860bc94562d4ba0c0b48 (patch)
treed1426ca8806d6b3f39c4f90c0cfcae14d55a659b /cider-mode.el
parent639f8a6476746f383f1dbfb4c876cca32d1c5926 (diff)
Use cider-expected-ns as the clojure-expected-ns-function when cider-mode is active
Diffstat (limited to 'cider-mode.el')
-rw-r--r--cider-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/cider-mode.el b/cider-mode.el
index d3e84471..3f8eadc7 100644
--- a/cider-mode.el
+++ b/cider-mode.el
@@ -620,6 +620,7 @@ property."
(cider--wrap-fontify-locals font-lock-fontify-region-function))
(when cider-dynamic-indentation
(setq-local clojure-get-indent-function #'cider--get-symbol-indent))
+ (setq-local clojure-expected-ns-function #'cider-expected-ns)
(setq next-error-function #'cider-jump-to-compilation-error))
(mapc #'kill-local-variable '(completion-at-point-functions
next-error-function