On Sun, Mar 15, 2009 at 1:41 PM, Tassilo Horn <tass...@member.fsf.org>wrote:

>
> Hi,
>
> I'd like that slime loads ~/.clojure/user.clj when starting the clojure
> REPL.  Therefore I added that file to `swank-clojure-init-files'.  This
> variable is used in `swank-clojure-cmd' to build the java invocation
> command line.
>
> But that didn't work.  So I wanted to debug `swank-clojure-cmd' to see
> what's wrong, but it seems that whole function is never called when I do
> `M-x slime'.
>
> I use the current HEAD versions of both swank-clojure and slime from
> their respective version control systems.
>

As a workaround you can try adding ~/.clojure to the classpath, Clojure will
automatically load user.clj if found on the classpath.


-- 
Cosmin Stejerean
http://offbytwo.com

--~--~---------~--~----~------------~-------~--~----~
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
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