Spotted an error in clojure-mode.el. Swank-clojure-extra-classpaths
needs to be changed from this to the following, in order for people to
be able to use contrib.

  (setq swank-clojure-jar-path (concat clojure-src-root "/clojure/
clojure.jar")
        swank-clojure-extra-classpaths
        (list (concat clojure-src-root "/clojure-contrib/src/"))))

  (setq swank-clojure-jar-path (concat clojure-src-root "/clojure/
clojure.jar")
        swank-clojure-extra-classpaths
        (list (concat clojure-src-root "/contrib/src/"))))

Now it works!

user> (System/getProperty "java.class.path")
"/home/boris/src/clojure/clojure.jar:/home/boris/src/contrib/src/"
user> (require 'clojure.contrib.math)
nil
user>
--~--~---------~--~----~------------~-------~--~----~
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