From 41f18b03eb82b8aba438612bff56d5d0b4dbc710 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 24 Feb 2025 07:29:09 +0000 Subject: [PATCH] Load custom-file if it exists --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index dcb55a3..aec2812 100644 --- a/init.el +++ b/init.el @@ -1325,5 +1325,8 @@ (with-eval-after-load 'base16-theme (add-hook 'after-init-hook #'my/configure-theme)) +(when (and custom-file (file-exists-p custom-file)) + (load custom-file nil 'nomessage)) + (provide 'init) ;;; init.el ends here