Brian Marick <[email protected]> writes: > On Jan 31, 2013, at 5:50 AM, Phillip Lord <[email protected]> > wrote: >> So, I really would like to hook into the doc function so that I can >> return a documentation string pulled directly from the underlying Java >> object; I already have a function for doing this, but do not know how to >> get the native Clojure facilities to call this, rather than just take >> the documentation directly from the metadata. > > > Could you wrap clojure.repl/print-doc using something like Robert Hooke? > https://github.com/technomancy/robert-hooke
I thought about that; my background in Emacs lisp makes me feel this is a bit nasty; advicing functions never seems like the cleanest way of doing things. But it might be the best solution in this case. Phil -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
