emacs-devel
[Top][All Lists]
Advanced

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

Re: master 05d240997a 2/2: Add native-compile-prune-cache command


From: Andrea Corallo
Subject: Re: master 05d240997a 2/2: Add native-compile-prune-cache command
Date: Fri, 22 Jul 2022 18:24:51 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: emacs-devel@gnu.org, Lars Ingebrigtsen <larsi@gnus.org>
>> Date: Fri, 22 Jul 2022 16:50:24 +0000
>> 
>> > Something like this (untested) in `normal-top-level'?
>> >
>> >     (unless (featurep 'native-compile)
>> >       (with-eval-after-load 'comp
>> >         (display-warning 'comp "This emacs does not support native 
>> > compilation" :warning)))
>> 
>> Yes something similar, wouldn't the attached be simpler?
>
> What will that do if comp.el is loaded by custom.el?

AFAIU it should just emit the warning when comp.el is loaded.

  Andrea



reply via email to

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