technomancy/robert-hooke — pull request #7 by dnaumov (2012-05-17 07:41:22+00:00)
Title: Added ability to associate hooks with keys

Hi,
First commit adds support for named hooks, so one can write `(add-hook #'f :foo (fn [f x] ...))`. Second one fixes `test-clear-hooks` test case, which was failing for me because metadata on function contained some clojure's keys. In the third I've removed stuff with skipped test, because it was throwing an exception and honestly I don't get how it's supposed to work. 4th commit updates clojure to 1.4 and replaces `binding` with `with-redefs`. Finally, the last one contains misc refactorings. Could you please review this changes and, if they are ok, release a new version?