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:34:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> [...]
> That is why `ignore' is there. Ignore is there to suppress the byte
> compiler warning just as you guessed it.
>
> Otherwise:
>
> In when-tabulated-id:
> rcd-cf.el:165:45: Warning: Unused lexical argument `id'

Sure - but why do you add an argument to that macro that it (or its
expansion) doesn't use at all?  That's very confusing, it would be
better to remove the argument.  Or - could the macro be rewritten to not
ignore that argument?

Regards,

Michael.




reply via email to

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