Subject: Re: bug#50898: 28.0.50; with-suppressed-warnings doesn't always work

From: Stefan Monnier <[email-masked]>
Date: Tue, 30 Nov 2021 12:31:01 -0500

Lars Ingebrigtsen [2021-11-30 15:19:55] wrote:

> Stefan Monnier <[email-masked]> writes:
>
>> I suspect this can fail if `bytecomp.el` is not yet loaded.
>
> In what cases does that happen?  I tried both an incremental and
> a bootstrap build.

    emacs -Q
    (with-suppressed-warnings ((obsolete foo)) (define-child-mode sm-foo c-mode "hello"))
    C-j

-- Stefan