Hey, that looks eerily similar to my gist! :)

https://gist.github.com/1324048

On Nov 15, 2:06 am, Sean Corfield <seancorfi...@gmail.com> wrote:
> Add the following to your ~/.lein/user.clj:
>
> ;; ~/.lein/user.clj
> (if (>= (.compareTo (clojure-version) "1.3.0") 0)
>   (do (use 'clojure.repl)
>       (use 'clojure.java.javadoc)))
>
>
>
>
>
>
>
>
>
> On Mon, Nov 14, 2011 at 10:57 PM, Yaron <ygol...@gmail.com> wrote:
> > So when I start a repl from the command line things like doc and
> > source work just fine.
>
> > But when I start a repl inside of aquamacs and swank clojure (1.3.3)
> > (installed via lein plugin) and clojure (1.3.0) via m-x clojure-jack-
> > in those function/macros don't work at all. For example, if I try (doc
> > str) I get the error "unable to resolve symbol: doc in this
> > context" [Thrown class java.lang.RuntimeException].
>
> > I tried (ns-all) but it doesn't show clojure.repl as being available.
> > (use clojure.repl) just gets me a [Thrown class
> > java.lang.ClassNotFoundException].
>
> > Note that the REPL in SWANK works in general. I can evaluate my
> > functions and they work.
>
> > So how do I get clojure.repl to load in SWANK?
>
> >     Thanks,
>
> >       Yaron
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to clojure@googlegroups.com
> > Note that posts from new members are moderated - please be patient with 
> > your first post.
> > To unsubscribe from this group, send email to
> > clojure+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/clojure?hl=en
>
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View --http://corfield.org/
> World Singles, LLC. --http://worldsingles.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to