]> git.notmuchmail.org Git - notmuch/commit - test/test-lib.el
test: add general Emacs hook counter
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Wed, 21 Dec 2011 18:18:25 +0000 (22:18 +0400)
committerDavid Bremner <bremner@debian.org>
Thu, 22 Dec 2011 10:57:32 +0000 (06:57 -0400)
commiteb8638ba2e6cbb25bab2e16cdfb8568e1af617cb
tree8ca64ec1190a168eb93491ee79091f4253c7624d
parent7edf9e2765d2795ca85dd2c239af20a7493e2085
test: add general Emacs hook counter

Replace `notmuch-hello-mode-hook-counter' with general `hook-counter'
and `add-hook-counter' functions to allow counting calls for any hook.
test/test-lib.el