summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-05-30 11:47:22 +0200
committerAlan Pearce2017-05-30 11:47:22 +0200
commitd355dc10d2ff85f4bd07bf55d773d135832ef07d (patch)
treec2f5a709efee87feeefaa0ae63f7aefe8cfde936
parente9049339b060d464e60374c22b918ba94fd78b69 (diff)
downloadnixfiles-d355dc10d2ff85f4bd07bf55d773d135832ef07d.tar.lz
nixfiles-d355dc10d2ff85f4bd07bf55d773d135832ef07d.tar.zst
nixfiles-d355dc10d2ff85f4bd07bf55d773d135832ef07d.zip
Emacs: Only load theme if it makes sense
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 8d8f8441..25a399a2 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -169,6 +169,8 @@ Eziam looks nice, too
 #+BEGIN_SRC emacs-lisp
 (use-package eziam-light-theme
   :ensure eziam-theme
+  :if (or window-system
+          server-name)
   :defines (eziam-scale-headings)
   :config (progn
             (setq eziam-scale-headings nil)