projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
51db62d
)
[emacs] don't enable multiple themes at the same time
author
Amin Bandali
<amin@aminb.org>
Sun, 13 May 2018 13:52:50 +0000
(09:52 -0400)
committer
Amin Bandali
<amin@aminb.org>
Sun, 13 May 2018 13:52:50 +0000
(09:52 -0400)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
06fa7e7
..
51bf6ed
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-319,6
+319,14
@@
in my shell.
(exec-path-from-shell-copy-env "SSH_AUTH_SOCK"))
#+end_src
+** Only one custom theme at a time
+
+#+begin_src emacs-lisp
+(defadvice load-theme (before clear-previous-themes activate)
+ "Clear existing theme settings instead of layering them"
+ (mapc #'disable-theme custom-enabled-themes))
+#+end_src
+
** Server
Start server if not already running. Alternatively, can be done by