aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar √Čtienne Deparis 2014-11-18 10:24:24 +0100
committerGravatar √Čtienne Deparis 2014-11-18 10:24:24 +0100
commit44ad7b596d854623ec147783d690e112c9a678e6 (patch)
tree830bc07542eaeb167462fc1525cdc76826a21d96
parentd3d208b65f6afe3a7b6d272b68b6085f119ecc15 (diff)
downloadel-monokai-theme-44ad7b596d854623ec147783d690e112c9a678e6.tar.gz
el-monokai-theme-44ad7b596d854623ec147783d690e112c9a678e6.tar.xz
el-monokai-theme-44ad7b596d854623ec147783d690e112c9a678e6.zip
Enforce reset of theme between two frame creation
-rw-r--r--monokai-theme.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/monokai-theme.el b/monokai-theme.el
index 803ce42..e5cabf7 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -92,6 +92,7 @@
(defun switch-to-term-color-if-necessary (frame)
(set-variable 'color-theme-is-global nil)
(select-frame frame)
+ (load-theme 'monokai t)
(when (not window-system)
(custom-theme-set-faces 'monokai `(default ((t (:background nil)))))))
;; hook on after-make-frame-functions