From a07d0a85679e5641f1bb4da4a8be9d4c0b8eeb84 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 18 Dec 2021 14:34:02 -0600 Subject: Require things differently Because sorting my init file puts things in the wrong order, I'm looping through a list instead. --- init.el | 8 +++++--- 1 file 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 @@ ;;; 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) -- cgit 1.4.1-21-gabe81