emacs-devel
[Top][All Lists]
Advanced

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

Re: master e971ce6: Make autoloads populate a new definition-prefixes ta


From: Michael Heerdegen
Subject: Re: master e971ce6: Make autoloads populate a new definition-prefixes table
Date: Thu, 26 May 2016 23:22:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> > You are right.  The reason is that on master 'declare-function' must
> > specify the full arglist of the announced function, otherwise the
> > byte-compiler emits this warning (I get them in quite a few files).
> > Is that intentional?  If so, we should fix all the 'declare-function'
> > forms that don't already state the argument lists.
>
> No, that's not intentional (at least it was originally designed so as
> to distinguish the "no arg" case from the "nil arg" case).

The reason seems to be

b4d1cd: Pacify byte-compiler for
byte-compile-macroexpand-declare-function

by Paul (CC'd).  AFAIU the patch indeed doesn't distinguish "arglist ()"
and "no arglist specified" - it treats both as "arglist ()".

Paul, could you please have a look?


Thanks,

Michael.




reply via email to

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