Преглед изворни кода

Check if graphical before removing toolbar

Josh Bicking пре 8 година
родитељ
комит
655cbb75f6
1 измењених фајлова са 3 додато и 1 уклоњено
  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