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 23:20:25 +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: rpluim@gmail.com, emacs-devel@gnu.org, larsi@gnus.org
>> Date: Fri, 22 Jul 2022 18:24:51 +0000
>> 
>> 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.
>
> Is that a good idea for such a scenario?

I'm not sure why custom should load it (not a custom expert here), but
assuming it is for making any use of it I'd say it is.

Maybe an example of why custom should load comp would make my ideas more
clear on this.

Thanks

  Andrea



reply via email to

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