bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19634: counting MANY function args more reliably


From: Eli Zaretskii
Subject: bug#19634: counting MANY function args more reliably
Date: Thu, 22 Jan 2015 20:16:05 +0200

> Date: Thu, 22 Jan 2015 09:42:10 -0800
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> 
> On 01/22/2015 08:31 AM, Eli Zaretskii wrote:
> > Do we want to use this for every call to a function that accepts MANY
> > args, or just those where the argument is an array?
> 
> We should use it for calls where counting the number of arguments is 
> likely to be error-prone.
> 
> > I'm asking because the proposed patch left out this part of w32fns.c:
> >
> >    static Lisp_Object
> >    x_create_tip_frame (struct w32_display_info *dpyinfo,
> >                   Lisp_Object parms, Lisp_Object text)
> >    {
> >      [...]
> >      Ferase_buffer ();
> >      Finsert (1, &text);  <<<<<<<<<<<<<<<<<<<<<<
> 
> The patch does not affect calls like that, as they're unlikely to give 
> rise to the sort of typographical error that motivated the patch.

OK, thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]