[Top][All Lists]

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

Re: Towards a cleaner build

From: Stefan Monnier
Subject: Re: Towards a cleaner build
Date: Sun, 09 Jun 2019 19:01:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> `ignore` is a normal function used for various different things.
>> The fact that it can be used to silence this warning is just a happy
>> coincidence.
> Well, somebody surely has implemented it.  :-)


> Somewhere.  I looked for the code and couldn't find it...

It's because there isn't any.

>>     grep "#'ignore" **/*.el | wc
>> gives me more than a hundred reasons not to mark it obsolete ;-)
> I meant the special construct; not the function...

There is no special construct:
`(ignore X Y Z)` is a normal function call, hence a use of X, Y, and Z.
It also happens that `ignore` is later optimized away so it usually has
no runtime cost (but that's only true when the code is compiled).


reply via email to

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