Jani Nikula <jani at nikula.org> writes: > notmuch-hello-refresh-hook is now called with no-display param. Accept > (and ignore) it in hook-counter.
This should go together with the previous patch since without this change, previous patch breaks code. > --- > 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 > > _______________________________________________ > notmuch mailing list > notmuch at notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Micha? ?mina86? Nazarewicz (o o) ooo +----<email/xmpp: mpn at google.com>--------------ooO--(_)--Ooo-- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120903/6a7d8062/attachment.pgp>