Browse files

Mark *locals* with ^:dynamic

  • Loading branch information...
1 parent a1598e0 commit ff771ae2b88a00c5f76ddbabde1112d6d83df8c5 @ivan ivan committed Apr 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/org/dipert/swingrepl/main.clj
@@ -64,7 +64,7 @@
(let [symbols (map key @clojure.lang.Compiler/LOCAL_ENV)]
(zipmap (map (fn [sym] `(quote ~sym)) symbols) symbols)))
-(declare *locals*)
+(declare ^:dynamic *locals*)
(defn eval-with-locals
"Evals a form with given locals. The locals should be a map of symbols to

0 comments on commit ff771ae

Please sign in to comment.