mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix core not loading byte-compiled private config files
This commit is contained in:
@ -185,7 +185,7 @@ with functions that require it (like modeline segments)."
|
|||||||
gc-cons-percentage 0.6
|
gc-cons-percentage 0.6
|
||||||
file-name-handler-alist nil))
|
file-name-handler-alist nil))
|
||||||
|
|
||||||
(load (expand-file-name "early-init.el" doom-private-dir) t t)
|
(load (concat doom-private-dir "early-init") t t)
|
||||||
|
|
||||||
(require 'core-packages (concat doom-core-dir "core-packages"))
|
(require 'core-packages (concat doom-core-dir "core-packages"))
|
||||||
(doom-initialize noninteractive)
|
(doom-initialize noninteractive)
|
||||||
@ -197,13 +197,13 @@ with functions that require it (like modeline segments)."
|
|||||||
(load! core-projects) ; making Emacs project-aware
|
(load! core-projects) ; making Emacs project-aware
|
||||||
(load! core-keybinds)) ; centralized keybind system + which-key
|
(load! core-keybinds)) ; centralized keybind system + which-key
|
||||||
|
|
||||||
(load (expand-file-name "init.el" doom-private-dir) t t)
|
(load (concat doom-private-dir "init") t t)
|
||||||
|
|
||||||
(defun doom|after-init ()
|
(defun doom|after-init ()
|
||||||
"Run `doom-init-hook' and `doom-post-init-hook', start the Emacs server, and
|
"Run `doom-init-hook' and `doom-post-init-hook', start the Emacs server, and
|
||||||
display the loading benchmark."
|
display the loading benchmark."
|
||||||
(unless noninteractive
|
(unless noninteractive
|
||||||
(load (expand-file-name "config.el" doom-private-dir) t t))
|
(load (concat doom-private-dir "config") t t))
|
||||||
(dolist (hook '(doom-init-hook doom-post-init-hook))
|
(dolist (hook '(doom-init-hook doom-post-init-hook))
|
||||||
(run-hook-wrapped hook #'doom-try-run-hook hook))
|
(run-hook-wrapped hook #'doom-try-run-hook hook))
|
||||||
(unless noninteractive
|
(unless noninteractive
|
||||||
|
Reference in New Issue
Block a user