That works a treat - thanks.
On 8 July 2013 16:49, Neale Swinnerton <[email protected]> wrote: > Hi Col, > > On Mon, Jul 8, 2013 at 4:43 PM, Colin Yates <[email protected]> wrote: > >> Alternatively, in the vein of just getting things done, can I do some >> emacs fu to automatically load clojure.repl? Silly me - of course I can - >> this is emacs :). No idea what that fu would be though... Any hints? >> >> > Since nrepl calls lein to establish the repl session, You can add the > necessary require as an injection in ${HOME}/.lein/profiles.clj > > e.g. I have this: > > :injections [(require 'clojure.repl)] > > I don't know if this is the right way™, but it works for me... > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojure/vyO60o58RPE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
