[PATCH v2 3/5] test: fix hook-counter to accept the new no-display param
Jani Nikula
jani at nikula.org
Sun Sep 2 07:48:35 PDT 2012
notmuch-hello-refresh-hook is now called with no-display param. Accept
(and ignore) it in hook-counter.
---
test/test-lib.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test-lib.el b/test/test-lib.el
index fa3380c..864780c 100644
--- a/test/test-lib.el
+++ b/test/test-lib.el
@@ -84,7 +84,7 @@ running, quit if it terminated."
(kill-emacs)
(run-at-time "1 min" nil 'orphan-watchdog pid)))
-(defun hook-counter (hook)
+(defun hook-counter (hook &rest no-display)
"Count how many times a hook is called. Increments
`hook'-counter variable value if it is bound, otherwise does
nothing."
--
1.7.9.5
More information about the notmuch
mailing list