Preload paren.el

* lisp/Makefile.in (COMPILE_FIRST): Add the dependencies of
comp.el, so that they are natively-compiled in advance.
* lisp/loadup.el ("paren"): Preload paren.el.	(Bug#50934)
This commit is contained in:
Eli Zaretskii 2021-10-02 11:06:18 +03:00
parent a9052248da
commit 340e527bed
2 changed files with 14 additions and 2 deletions

View file

@ -91,8 +91,19 @@ COMPILE_FIRST = \
$(lisp)/emacs-lisp/byte-opt.elc \
$(lisp)/emacs-lisp/bytecomp.elc
ifeq ($(HAVE_NATIVE_COMP),yes)
COMPILE_FIRST += $(lisp)/emacs-lisp/comp.elc
COMPILE_FIRST += $(lisp)/emacs-lisp/comp-cstr.elc
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
endif
COMPILE_FIRST += $(lisp)/emacs-lisp/autoload.elc

View file

@ -352,6 +352,7 @@
(load "vc/ediff-hook")
(load "uniquify")
(load "electric")
(load "paren")
(load "shorthands")
(setq load-source-file-function #'load-with-shorthands-and-code-conversion)