diff --git a/src/clooj/repl.clj b/src/clooj/repl.clj index 3e7b598..e7d89c7 100644 --- a/src/clooj/repl.clj +++ b/src/clooj/repl.clj @@ -298,7 +298,12 @@ (defn apply-namespace-to-repl [app] (when-let [current-ns (get-file-ns app)] - (send-to-repl app (str "(ns " current-ns ")")) + (let [ns-str (str "(ns " current-ns + "(:use " + "[clojure.repl :only (source apropos dir pst doc find-doc)] " + "[clojure.java.javadoc :only (javadoc)] " + "[clojure.pprint :only (pp pprint)]))")] + (send-to-repl app ns-str)) (swap! repls assoc-in [(-> app :repl deref :project-path) :ns] current-ns)))