all repos — nixfiles @ d355dc10d2ff85f4bd07bf55d773d135832ef07d

System and user configuration, managed by nix and home-manager

Emacs: Only load theme if it makes sense
Alan Pearce alan@alanpearce.eu
Tue, 30 May 2017 11:47:22 +0200
commit

d355dc10d2ff85f4bd07bf55d773d135832ef07d

parent

e9049339b060d464e60374c22b918ba94fd78b69

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -169,6 +169,8 @@ #+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)