Load the default theme if user didn't load any

This commit is contained in:
Sameer Rahmani 2024-04-10 22:56:30 +01:00
parent d87df1fe9e
commit b29e53b877
Signed by: lxsameer
GPG Key ID: 8741FACBF412FFA5
1 changed files with 4 additions and 0 deletions

View File

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