Browse Source

Check if graphical before removing toolbar

Josh Bicking 8 years ago
parent
commit
655cbb75f6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      emacs

+ 3 - 1
emacs

@@ -40,7 +40,9 @@
       `((".*" ,(concat user-emacs-directory "backups") t)))
 
 ;; Disable toolbar
-(tool-bar-mode -1)
+(when (display-graphic-p)
+  (tool-bar-mode -1)
+  )
 
 
 ;;;; Packages