From 32588d9d390bc3c64ca38456153ce4dc064e4fd1 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 3 Mar 2021 09:27:34 -0500 Subject: [PATCH] Load custom file last --- emacs/.emacs.d/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 695b551..c152b0f 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -49,8 +49,6 @@ ;; Don't use this file as the custom-file (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) -(when (file-exists-p custom-file) - (load custom-file 'noerror 'nomessage)) ;; Load config modules (add-to-list 'load-path (expand-file-name "config" user-emacs-directory)) @@ -90,3 +88,6 @@ (require 'init-email) (require 'init-kubernetes) (require 'init-epub) + +(when (file-exists-p custom-file) + (load custom-file 'noerror 'nomessage))