summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Okamoto <neil.okamoto@gmail.com>2018-01-31 01:18:06 -0800
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-01-31 19:28:33 +0700
commite4e48eae228886e44f94e003a697b8120c58a78a (patch)
treef6b0ce6891e5adf5e0ab568f463ece5005ada976
parent4e95ccef3cb21ede80e94fe26965ccd81e5d6a08 (diff)
Remove last remnants of cljx code causing CI breakage
-rw-r--r--cider-client.el6
-rw-r--r--test/cider-client-tests.el3
2 files changed, 2 insertions, 7 deletions
diff --git a/cider-client.el b/cider-client.el
index 82ac270c..1850d3df 100644
--- a/cider-client.el
+++ b/cider-client.el
@@ -188,7 +188,6 @@ the `current-buffer'."
(cond
((derived-mode-p 'clojurescript-mode) "cljs")
((derived-mode-p 'clojurec-mode) "multi")
- ((derived-mode-p 'clojurex-mode) "multi")
((derived-mode-p 'clojure-mode) "clj")
(cider-repl-type))))
@@ -372,9 +371,8 @@ over.
there is no Clojure connection (use this for commands only
supported in Clojure).
:cljs - Like :clj, but demands a ClojureScript connection instead.
- :both - In `clojurec-mode' or `clojurex-mode' act on both connections,
- otherwise function like :any. Obviously, this option might run
- FUNCTION twice.
+ :both - In `clojurec-mode' act on both connections, otherwise function
+ like :any. Obviously, this option might run FUNCTION twice.
If ANY-MODE is non-nil, :clj and :cljs don't signal errors due to being in
the wrong major mode (they still signal if the desired connection type
diff --git a/test/cider-client-tests.el b/test/cider-client-tests.el
index 82cf6654..2231e4ce 100644
--- a/test/cider-client-tests.el
+++ b/test/cider-client-tests.el
@@ -99,9 +99,6 @@
(expect (cider-current-connection "clj") :to-equal b))
(with-temp-buffer
(clojurec-mode)
- (expect (cider-current-connection "clj") :to-equal b))
- (with-temp-buffer
- (clojurex-mode)
(expect (cider-current-connection "clj") :to-equal b))))))
(describe "when type argument is given"