all repos — nixfiles @ 71dd803accf032c521296a0dd3b7f0ed4aab0637

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

Emacs: Check for display system before setting theme
Alan Pearce alan@alanpearce.uk
Mon, 13 Mar 2017 01:03:48 +0100
commit

71dd803accf032c521296a0dd3b7f0ed4aab0637

parent

99e39b728189d9c7069de92c4cd84be1576dd377

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

jump to
M tag-emacs/emacs.d/init.orgtag-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)