Skip to content
Browse files

Merge from lrenn to add lib jars to classpath.

  • Loading branch information...
1 parent dbdec4a commit 8ddc188e076cd1dea2e907ce04a89c96b6efa25d @technomancy technomancy committed Jun 16, 2009
Showing with 5 additions and 2 deletions.
  1. +5 −2 starter-kit-lisp.el
7 starter-kit-lisp.el
@@ -117,8 +117,11 @@ Kills existing SLIME session, if any."
(setq swank-clojure-binary nil
swank-clojure-jar-path (expand-file-name "target/dependency/" path)
- (mapcar (lambda (d) (expand-file-name d path))
- '("src/" "target/classes/" "test/"))
+ (append (mapcar (lambda (d) (expand-file-name d path))
+ '("src/" "target/classes/" "test/"))
+ (let ((lib (expand-file-name "lib" path)))
+ (if (file-exists-p lib)
+ (directory-files lib t ".jar$"))))
(cons `(clojure ,(swank-clojure-cmd) :init swank-clojure-init)
(remove-if #'(lambda (x) (eq (car x) 'clojure))

0 comments on commit 8ddc188

Please sign in to comment.
Something went wrong with that request. Please try again.