1

Accommodate changes in newer solaire-mode versions

This commit is contained in:
Jessie Hildebrandt 2021-07-12 20:10:26 -04:00
parent 06d2d5e735
commit f72414591d

View File

@ -193,6 +193,7 @@
(daemonp) (daemonp)
(not init-file/theme-loaded)) (not init-file/theme-loaded))
(load-theme 'mood-one t) (load-theme 'mood-one t)
(solaire-global-mode t)
(set-fontset-font t 'symbol "Symbola" nil 'append) (set-fontset-font t 'symbol "Symbola" nil 'append)
(setq init-file/theme-loaded t)))) (setq init-file/theme-loaded t))))
@ -428,16 +429,12 @@
:demand :demand
t t
:custom :custom
(solaire-mode-themes-to-face-swap '("mood-one"))
(solaire-mode-remap-modeline nil) (solaire-mode-remap-modeline nil)
(solaire-mode-real-buffer-fn (solaire-mode-real-buffer-fn
(lambda () (lambda ()
(and (not (string-equal major-mode "neotree-mode")) (and (not (string-equal major-mode "neotree-mode"))
(buffer-name (buffer-base-buffer)) (buffer-name (buffer-base-buffer))
(not (string-match "\*Echo Area" (buffer-name (buffer-base-buffer))))))) (not (string-match "\*Echo Area" (buffer-name (buffer-base-buffer)))))))
:hook
(change-major-mode-hook . turn-on-solaire-mode)
(term-mode . (lambda () (set-face-background 'term (face-background 'solaire-default-face))))
:config :config
(solaire-global-mode t)) (solaire-global-mode t))