Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from cemerick/patch-1
Browse files Browse the repository at this point in the history
Fix docstring for `clear-hooks`
  • Loading branch information
technomancy committed Dec 5, 2011
2 parents 8a124da + 067ffb7 commit 01eb2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robert/hooke.clj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
(clear-hook-mechanism target-var))))

(defn clear-hooks
"Remove hook function f from target-var."
"Remove all hooks from target-var."
[target-var]
(swap! (:robert.hooke/hook (meta @target-var)) empty)
(when (empty? @(:robert.hooke/hook (meta @target-var)))
Expand Down

0 comments on commit 01eb2e8

Please sign in to comment.