Skip to content

Commit d2c47d4

Browse files
committed
fix #80 : excluding functions from clojure.core
replacing "ns" by "in-ns" now works in v0.4.0
1 parent fb0c652 commit d2c47d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clooj/repl/main.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
(when-not @(:repl app)
230230
(start-repl app (first (project/get-selected-projects app))))
231231
(when-let [current-ns (get-file-ns app)]
232-
(send-to-repl app (str "(ns " current-ns ")") true)))
232+
(send-to-repl app (str "(in-ns '" current-ns ")") true)))
233233

234234
(defn restart-repl [app project-path]
235235
(stop-repl app)

0 commit comments

Comments
 (0)