Hi folks,

In the latest versions of Clojure, the :file key in a var's metadata
seems to contain the full path of the file (relative to the
classpath). e.g.

=> (:file ^#'html)
"compojure/html/gen.clj"
=> (:file ^#'map)
"clojure/core.clj"

The get-source function in clojure.contrib.repl-utils seems to assume
that :file only contains the base filename, rather than the full
filepath. This means that the path is added twice. e.g.

compojure/html/compojure/html/gen.clj

- James


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