From 87d18cb9e0900a6018ddad4a6b0c61f07b4a1537 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Mon, 31 Dec 2018 15:02:38 -0500 Subject: [PATCH] ensure we load layers when we compile --- emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 5564ef7..a5847f9 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -219,4 +219,5 @@ ;; -- Load layers -- -(mapc 'load (file-expand-wildcards (expand-file-name "layers/*/*.el" current-dir))) +(eval-and-compile + (mapc 'load (file-expand-wildcards (expand-file-name "layers/*/*.el" current-dir))))