MarbleMice.com

Hacking the trees of knowledge.

Swank/Slime/Emacs, adding things to your classpath

without comments

Just in case anyone is struggling in emacs to add jars/dirs to your classpath in Slime/Swank for clojure. You need to call

(setq swank-clojure-extra-classpaths (list “bla” “bla2″))

before you call

(require ’swank-clojure-autoload)

in you .emacs file.

Rather embarrassingly it took me quite a while to figure out my error. Also you need to restart slime to have this take effect as it only checks the values at start up. I just restart emacs.

Written by birdle

April 26th, 2009 at 8:47 pm

Posted in Programming

Tagged with ,

Leave a Reply