summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-03-13 01:03:48 +0100
committerAlan Pearce2017-03-13 01:03:48 +0100
commit71dd803accf032c521296a0dd3b7f0ed4aab0637 (patch)
tree4ee7b2ef720c274bed4e974a84beaf1ac56387b2 /tag-emacs
parent99e39b728189d9c7069de92c4cd84be1576dd377 (diff)
downloadnixfiles-71dd803accf032c521296a0dd3b7f0ed4aab0637.tar.lz
nixfiles-71dd803accf032c521296a0dd3b7f0ed4aab0637.tar.zst
nixfiles-71dd803accf032c521296a0dd3b7f0ed4aab0637.zip
Emacs: Check for display system before setting theme
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index ca111aff..9bf9d344 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -131,6 +131,7 @@ Let’s try a basic theme.
 
 #+BEGIN_SRC emacs-lisp
 (use-package basic-theme
+  :if (display-graphic-p)
   :config (progn
             (load-theme 'basic t)