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: Sat, 23 Jul 2022 09:43:35 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Robert Pluim <rpluim@gmail.com>,  emacs-devel@gnu.org,  Lars
>  Ingebrigtsen <larsi@gnus.org>
> Date: Fri, 22 Jul 2022 19:38:09 -0400
> 
> Regarding "prune cache" I earlier suggested that it could just "prune
> nothing" when called from an Emacs with no native-compiler, but I later
> saw that the docstring says:
> 
>     Remove .eln files that aren’t applicable to the current Emacs invocation.
> 
> so another valid option would be for it to delete *all* the .eln files
> when called from an Emacs without support for native compilation
> (because none of the .eln files are "applicable to the current Emacs
> invocation").

I think this would be a very dangerous thing to do, especially if
someone has more than one build of the same Emacs version on the
system.  (I also don't think it could be possible, because important
variables needed by that function are undefined in such a build, which
is IMO fortunate.)



reply via email to

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