On 11 May 2010 11:59, Lauri Pesonen <lauri.peso...@iki.fi> wrote:
>
> At least in my setup ~/.clojure/user.clj does not get loaded unless
> ~/.clojure is in the JVM classpath.

(replying to myself)

So I've made this work with swank-clojure-project by adding this to my
emacs config:

(add-hook 'swank-clojure-project-hook
          '(lambda ()
             (add-to-list 'swank-clojure-classpath "~/.clojure")))

Now ~/.clojure is in the classpath when clojure is started and
user.clj gets loaded and all is peachy.

This fixes the issue for me partly, except that swank-clojure-project
seems to on its way to retirement (?) so this approach won't really be
a long term solution.

-- 
  ! Lauri

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