From b29e53b87701db63fecc4b78ad33c3ffb4314262 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Wed, 10 Apr 2024 22:56:30 +0100 Subject: [PATCH] Load the default theme if user didn't load any --- lisp/fg42.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/fg42.el b/lisp/fg42.el index d9f9a47..14ee6bf 100644 --- a/lisp/fg42.el +++ b/lisp/fg42.el @@ -73,6 +73,10 @@ (when (file-exists-p user-init-file) (load user-init-file)) + ;; If user didn't select a theme, load the default stuff + (when (featurep 'fg42/themes) + (require 'fg42/themes)) + (fg42/setup-editor) (add-hook 'emacs-startup-hook