Make minimal-emacs-load-user-init also load .elc or .eln files

This commit is contained in:
James Cherti
2025-03-12 16:24:35 -04:00
parent 07767ef19e
commit d17039f235
3 changed files with 7 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
(setq minimal-emacs--stage (file-name-nondirectory init-file))
(load init-file nil t))))
(minimal-emacs-load-user-init "pre-early-init.el")
(minimal-emacs-load-user-init "pre-early-init")
(setq minimal-emacs--stage "early-init.el")
(setq custom-theme-directory
@@ -398,7 +398,7 @@ this stage of initialization."
("melpa" . 0)))
;;; Load post-early-init.el
(minimal-emacs-load-user-init "post-early-init.el")
(minimal-emacs-load-user-init "post-early-init")
(provide 'early-init)