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))