From 0e0ca516dfcfec0dbe8e05c41f962923223d2563 Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Thu, 19 Dec 2019 17:00:08 +0100 Subject: [PATCH] finxed bug with theme toggler --- init.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index 368a6e9..fc3721f 100644 --- a/init.org +++ b/init.org @@ -174,10 +174,12 @@ Some windows specific stuff (when *windows* (if (eq (car custom-enabled-themes) 'tango-dark) (progn (disable-theme 'tango-dark) - (enable-theme 'tango)) + (load-theme 'tango)) (progn (disable-theme 'tango) - (enable-theme 'tango-dark))))) + (load-theme 'tango-dark))))) + +(bind-key "C-c t" 'my/toggle-theme) #+END_SRC Windows Theme: