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

Subject: Re: [PATCH v2 3/5] test: fix hook-counter to accept the new no-display param

Date: Mon, 03 Sep 2012 14:15:43 +0200

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: Michal Nazarewicz


Jani Nikula <jani@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@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@google.com>--------------ooO--(_)--Ooo--

Thread: