Browse files

make load-file-code rebindable to support easy support for alternativ…

…e Clojure impls
  • Loading branch information...
1 parent f797a83 commit f57ec6c8dc1f3ba20dee626009e5d242e0a03867 @cemerick cemerick committed Aug 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/clojure/clojure/tools/nrepl/middleware/load_file.clj
@@ -3,7 +3,7 @@
(:require [ :as eval])
(:use [ :as middleware :only (set-descriptor!)]))
-(defn load-file-code
+(defn ^{:dynamic true} load-file-code
"Given the contents of a file, its _source-path-relative_ path,
and its filename, returns an expression that, when evaluated,
will load those contents with appropriate filename references

0 comments on commit f57ec6c

Please sign in to comment.