From b6fab5da8dfb1746b87735aa2bc2cb2def3037b6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 3 Apr 2018 19:46:47 -0400 Subject: [PATCH] Fix core not loading byte-compiled private config files --- core/core.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core.el b/core/core.el index 46730a616..b536c2ad1 100644 --- a/core/core.el +++ b/core/core.el @@ -185,7 +185,7 @@ with functions that require it (like modeline segments)." gc-cons-percentage 0.6 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")) (doom-initialize noninteractive) @@ -197,13 +197,13 @@ with functions that require it (like modeline segments)." (load! core-projects) ; making Emacs project-aware (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 () "Run `doom-init-hook' and `doom-post-init-hook', start the Emacs server, and display the loading benchmark." (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)) (run-hook-wrapped hook #'doom-try-run-hook hook)) (unless noninteractive