emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 29 May 2019 11:48:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Let's see...  Oh, right.  `with-no-warnings' is a function, while I
> thought it would make sense for `with-suppressed-warnings' to be a macro
> since the WARNINGS are supposed to be unevaluated.

Yes, a macro makes sense.

> But as a macro that expands to (basically) `progn', then the byte
> compiler just sees the `progn' and is unable to do anything with the
> form.

You can use byte-compile-macro-environment to override the default
definition of the macro during compilation.


        Stefan




reply via email to

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