diff options
author | Case Duckworth | 2021-12-18 14:34:02 -0600 |
---|---|---|
committer | Case Duckworth | 2021-12-18 14:34:02 -0600 |
commit | a07d0a85679e5641f1bb4da4a8be9d4c0b8eeb84 (patch) | |
tree | 8f98559b7d4b78c42edcf57836f6abfcb04605dd /init.el | |
parent | Set `lui-formatting-list' (diff) | |
download | emacs-a07d0a85679e5641f1bb4da4a8be9d4c0b8eeb84.tar.gz emacs-a07d0a85679e5641f1bb4da4a8be9d4c0b8eeb84.zip |
Require things differently
Because sorting my init file puts things in the wrong order, I'm looping through a list instead.
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/init.el b/init.el index 87f5424..d502f03 100644 --- a/init.el +++ b/init.el | |||
@@ -16,9 +16,11 @@ | |||
16 | 16 | ||
17 | ;;; Code: | 17 | ;;; Code: |
18 | 18 | ||
19 | (require '_work) | 19 | (dolist (feature `((early-init . ,(locate-user-emacs-file "early-init")) |
20 | (require 'early-init (locate-user-emacs-file "early-init.el") t) | 20 | private |
21 | (require 'private) | 21 | _work)) |
22 | (require (or (car-safe feature) feature) (cdr-safe feature) :noerror)) | ||
23 | |||
22 | (setq debug-on-error t) | 24 | (setq debug-on-error t) |
23 | 25 | ||
24 | (setup (:require +emacs) | 26 | (setup (:require +emacs) |