Emacs: Fix early-theme.el.
Only try to hide the tool-bar if we're in a GUI.
This commit is contained in:
parent
9081bde3d4
commit
f5a3541247
|
@ -1,6 +1,6 @@
|
|||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-04-25T18:23:05+0200>
|
||||
;; Time-stamp: <2020-04-25T18:27:20+0200>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -75,8 +75,9 @@
|
|||
(face-background 'default) "\")\n"
|
||||
"(set-face-foreground 'default \""
|
||||
(face-foreground 'default) "\")\n"
|
||||
"(tool-bar-mode -1)\n"
|
||||
"(menu-bar-mode -1)\n"))
|
||||
"(menu-bar-mode -1)\n"
|
||||
"(when (display-graphic-p)\n"
|
||||
" (tool-bar-mode -1))\n"))
|
||||
(with-temp-file (expand-file-name "early-theme.el"
|
||||
user-emacs-directory)
|
||||
(insert minimal-theme)))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user