Rewrite how themes are loaded, and fonts reloaded
A follow-up to 578dddd
, which wasn't sufficient.
Fixes #5000 (again)
This commit is contained in:
parent
113dcd74cf
commit
f989bf60f0
6 changed files with 51 additions and 92 deletions
|
@ -58,13 +58,6 @@ envvar will enable this at startup.")
|
|||
(define-error 'doom-private-error "Error in private config" 'doom-error)
|
||||
(define-error 'doom-package-error "Error with packages" 'doom-error)
|
||||
|
||||
;;; Declare a psuedo theme to store faces and variables in, with no risk of it
|
||||
;;; getting saved to `custom-file', or accidentally overwritten by user config.
|
||||
(custom-declare-theme 'doom nil)
|
||||
(enable-theme 'doom)
|
||||
;; But immediately hide it, because it's not a real theme.
|
||||
(setq custom-enabled-themes (remq 'doom custom-enabled-themes))
|
||||
|
||||
|
||||
;;
|
||||
;;; Directory variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue