Does the :injections key replace the init.clj found in /.lein/? If I
understood correctly, I had roughly the same problem...my code in
init.clj (some debugging functions I always need available) is no more
being loaded with lein2...should I use the :injections key instead?
Thanks in advance...
Jim
On 05/06/12 04:12, Warren Lynn wrote:
:injections works! slime works too (with slime-describe-symbol for
doc). Thank you!
On Jun 4, 11:05 pm, Phil Hagelberg<p...@hagelb.org> wrote:
On Mon, Jun 4, 2012 at 5:55 PM, Warren Lynn<wrn.l...@gmail.com> wrote:
(use 'clojure.repl)
(use 'clojure.java.javadoc)
But now in the REPL I don't have clojure.repl namespace available
anymore. Can anyone tell me why user.clj does not take effect anymore?
Thank you.
Everything in clojure.repl has a nicer equivalent using slime, plus
you don't have to re-use it every time you switch namespaces.
If you need something loaded at boot you can use the :injections key
in the user profile to have a vector of forms evaluated every time
your project is started, but using it for clojure.repl is unnecessary
if you use slime.
-Phil
--
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