Require things differently

Because sorting my init file puts things in the wrong order, I'm looping through
a list instead.
This commit is contained in:
Case Duckworth 2021-12-18 14:34:02 -06:00
parent 6bef88b512
commit a07d0a8567
1 changed files with 5 additions and 3 deletions

View File

@ -16,9 +16,11 @@
;;; Code:
(require '_work)
(require 'early-init (locate-user-emacs-file "early-init.el") t)
(require 'private)
(dolist (feature `((early-init . ,(locate-user-emacs-file "early-init"))
private
_work))
(require (or (car-safe feature) feature) (cdr-safe feature) :noerror))
(setq debug-on-error t)
(setup (:require +emacs)