On Sun, Jul 10, 2011 at 1:31 AM, Mark Derricutt <[email protected]> wrote: > Hi all, > > Does anyone know if theres a 1.3 compatible version of the > clojure.contrib.gen-html-docs library at all? There's nothing listed under > http://dev.clojure.org/display/design/Contrib+Projects and with the version > I was using before ( from org.clojure.contrib/gen-html-docs/1.3.0-alpha4 ) I > get the following problems: > > > Warning: *html-compatible* not declared dynamic and thus is not dynamically > rebindable, but its name suggests otherwise. Please either indicate > ^:dynamic *html-compatible* or change the name. > Warning: *prxml-indent* not declared dynamic and thus is not dynamically > rebindable, but its name suggests otherwise. Please either indicate > ^:dynamic *prxml-indent* or change the name. > Warning: *prxml-tag-depth* not declared dynamic and thus is not dynamically > rebindable, but its name suggests otherwise. Please either indicate > ^:dynamic *prxml-tag-depth* or change the name. > Warning: *script* not declared dynamic and thus is not dynamically > rebindable, but its name suggests otherwise. Please either indicate > ^:dynamic *script* or change the name. > Warning: *style* not declared dynamic and thus is not dynamically > rebindable, but its name suggests otherwise. Please either indicate > ^:dynamic *style* or change the name.
Just edit the code to mark all of these defs with ^:dynamic -- (def ^:dynamic *html-compatible* whatever) and so forth. > Exception in thread "main" java.lang.IllegalStateException: Can't > dynamically bind non-dynamic var: clojure.contrib.prxml/*prxml-tag-depth* And then this should go away. If there are then no other problems, please consider making the 1.3-compatiblized code public for others to benefit. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
