Allow “default” theme to load properly
This commit is contained in:
parent
37eed0af8f
commit
c3d344cb8c
1 changed files with 2 additions and 1 deletions
|
@ -239,7 +239,8 @@ THEME."
|
||||||
(package-activate pkg-name))))
|
(package-activate pkg-name))))
|
||||||
(when disable
|
(when disable
|
||||||
(mapc 'disable-theme custom-enabled-themes))
|
(mapc 'disable-theme custom-enabled-themes))
|
||||||
(load-theme theme-name t)
|
(unless (eq 'default theme-name)
|
||||||
|
(load-theme theme-name t))
|
||||||
(unless (display-graphic-p)
|
(unless (display-graphic-p)
|
||||||
(eval `(spacemacs|do-after-display-system-init
|
(eval `(spacemacs|do-after-display-system-init
|
||||||
(load-theme ',theme-name t))))
|
(load-theme ',theme-name t))))
|
||||||
|
|
Reference in a new issue