Commits

Meikel Brandmeyer  committed 24faf76

Load repl namespace when running on 1.3

  • Participants
  • Parent commits d34c9f7

Comments (0)

Files changed (1)

File server/src/main/clojure/vimclojure/core.clj

 
 (defn init-server
   []
-  )
+  ; Check for doc macro. 1.2 in c.core, 1.3 in c.repl
+  (when-not (ns-resolve 'clojure.core 'doc)
+    (binding [*ns* *ns*]
+      (in-ns 'user)
+      (refer-clojure)
+      (use 'clojure.repl))))