[PATCH 2/3] test: fix hook-counter to accept the new no-display param

Jani Nikula jani at nikula.org
Fri Jun 15 08:53:43 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 6271da2..9f66b0e 100644
--- a/test/test-lib.el
+++ b/test/test-lib.el
@@ -74,7 +74,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