Permalink
Browse files

Automatically bring doc into the namespace.

  • Loading branch information...
Raynes committed Nov 11, 2011
1 parent c3ccdba commit 20896b2185a7cd64fcd89f8016cefe67e5af0796
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/tryclojure/core.clj
View
@@ -115,8 +115,9 @@
(defn make-sandbox []
(sandbox try-clojure-tester
:timeout 2000
- :init '(future (Thread/sleep 600000)
- (-> *ns* .getName remove-ns))))
+ :init '(do (use '[clojure.repl :only [doc]])
+ (future (Thread/sleep 600000)
+ (-> *ns* .getName remove-ns)))))
(defn find-sb [old]
(if-let [sb (get old "sb")]

0 comments on commit 20896b2

Please sign in to comment.