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: Eli Zaretskii
Subject: Re: master 05d240997a 2/2: Add native-compile-prune-cache command
Date: Fri, 22 Jul 2022 21:59:46 +0300

> 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?

Perhaps we should have a variable to inhibit the warning, which
custom.el could bind?



reply via email to

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