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

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

Re: Example use of macro to minimize and generalize the code


From: Michael Heerdegen
Subject: Re: Example use of macro to minimize and generalize the code
Date: Tue, 01 Jun 2021 02:59:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> - ID is necessary;

Your macro calls always ignore what you specify at that argument's
position.  Instead, the macros refer to a (free) variable `id'.  AFAICT,
with your current implementation nothing would change if you would
remove the macro argument (and the `ignore' call) and simply don't use
it.

Typically, the backquote expression in the macro body would have ",id"
instead of "id" to include the value specified by the ID argument.  The
compiler warning is not just noise.

Michael.




reply via email to

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