Merge pull request #1146 from bendlas/patch-1
Rename `hooks` to `activate` in hooks code sample
This commit is contained in:
commit
532681dc40
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ meant to apply to and a function to perform the wrapping:
|
|||
|
||||
;; Place the body of the activate function at the top-level for
|
||||
;; compatibility with Leiningen 1.x
|
||||
(defn hooks []
|
||||
(defn activate []
|
||||
(robert.hooke/add-hook #'leiningen.test/form-for-testing-namespaces
|
||||
add-test-var-println))
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue