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