emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build
Date: Tue, 28 May 2019 13:39:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Noam Postavsky <address@hidden> writes:

> On Tue, 28 May 2019 at 07:26, Lars Ingebrigtsen <address@hidden> wrote:
>
>> >> (defun foo ()
>> >>   (with-suppressed-warnings (obsolete foo)
>> >>     ...))
>
>> It introduces another progn level...  Perhaps that doesn't matter?  Or
>> is removed by the compiler?
>
> Yep, try: (disassemble (lambda (x) (progn (progn (progn (progn (progn x)))))))

Cool.  Would it be difficult to have the byte compiler do the
add-the-with-suppressed-warnings thing?

And Eli hasn't OK'd the with-suppressed-warnings yet.  :-)  Did that
patch look OK?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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