Subject: Re: bug#20600: 24.5.3: add-hook - wrong arguments error

From: Eli Zaretskii <[email-masked]>
Date: Mon, 18 May 2015 17:25:24 +0300

> Date: Mon, 18 May 2015 12:54:25 +0100
> From: Artur Malabarba <[email-masked]>
> Cc: [email-masked]
> 
> Still, it sounds like it might be useful for run-hooks to properly handle
> functions whose arity is less than the expected arity.
> Does anyone foresee any issues with that?

To tell you the truth, I don't see the problem.  Is the problem the
need to specify a couple of arguments that will be left unused when
the function is called?  If so, we do it all over the place; we even
have a special convention for that.