[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?
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, (continued)
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Andreas Schwab, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Eli Zaretskii, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Stefan Monnier, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Andrea Corallo, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Eli Zaretskii, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Andrea Corallo, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command,
Eli Zaretskii <=
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Andrea Corallo, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Stefan Monnier, 2022/07/22
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Andrea Corallo, 2022/07/24
- Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Stefan Monnier, 2022/07/22
Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Stefan Monnier, 2022/07/22
Re: master 05d240997a 2/2: Add native-compile-prune-cache command, Lars Ingebrigtsen, 2022/07/22