home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 09dace2d5bb1786dc2554e26c854072d7da54805
parent d8242a9823b5184278ccef6f1849ecc65448ead0
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 10 Apr 2020 19:19:48 +0200

emacs: better them loading

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-appearance.el | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/config/config-appearance.el b/tools/emacs/config/config-appearance.el @@ -69,6 +69,12 @@ (setq custom-safe-themes t) ; Treat themes as safe ;; -SafeTheme +;; LoadTheme +(defadvice load-theme (before clear-previous-themes activate) + "Clear existing theme settings instead of layering them." + (mapc #'disable-theme custom-enabled-themes)) +;; -LoadTheme + ;; UseTheme (use-package shortbrain-light-theme :config