Subject: bug#58580: 29.0.50; Ahead-of-time compilation for a few more files?

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 17 Oct 2022 14:13:02 +0200

Eli Zaretskii <[email-masked]> writes:

> In Emacs 28 we added several files to AOT for that reason, but AFAIR
> they were removed on master.

Looking at Makefile.in, it seems like they were removed by the following
change?

Which looks like a good change -- they don't need to be compiled
first -- but it's not like we stopped eln-ing (for instance) subr-x on
purpose.

But I guess we'd have to introduce a new mechanism for this, like
COMPILE_ELN_EXTRA or something, if we want to AOT them anyway?

commit 99c276b3c0aee5599c1d281c1e9fe223810784ca
Author:     Andrea Corallo <[email-masked]>
AuthorDate: Tue Nov 30 13:49:36 2021 +0100
Commit:     Andrea Corallo <[email-masked]>
CommitDate: Tue Nov 30 15:42:41 2021 +0100

    Revert "Preload paren.el"
    
    Reverting as the previous commit make this fix not anymore necessary.
    
    This reverts commit 340e527bed83ff0382446132c871088ad61d1745.

diff --git a/lisp/Makefile.in b/lisp/Makefile.in
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -88,21 +88,10 @@
 COMPILE_FIRST = \
 	$(lisp)/emacs-lisp/macroexp.elc \
 	$(lisp)/emacs-lisp/cconv.elc    \
 	$(lisp)/emacs-lisp/byte-opt.elc \
 	$(lisp)/emacs-lisp/bytecomp.elc
 ifeq ($(HAVE_NATIVE_COMP),yes)
-COMPILE_FIRST += \
-	$(lisp)/emacs-lisp/comp.elc \
-	$(lisp)/emacs-lisp/comp-cstr.elc \
-	$(lisp)/emacs-lisp/cl-macs.elc \
-	$(lisp)/emacs-lisp/rx.elc \
-	$(lisp)/emacs-lisp/cl-seq.elc \
-	$(lisp)/help-mode.elc \
-	$(lisp)/emacs-lisp/cl-extra.elc \
-	$(lisp)/emacs-lisp/gv.elc \
-	$(lisp)/emacs-lisp/seq.elc \
-	$(lisp)/emacs-lisp/cl-lib.elc \
-	$(lisp)/emacs-lisp/warnings.elc \
-	$(lisp)/emacs-lisp/subr-x.elc