tool-bar-mode does not properly work in a tty
This commit is contained in:
parent
546d89e98f
commit
f51ae0cc6b
1 changed files with 5 additions and 2 deletions
|
@ -63,7 +63,10 @@ instead of Emacs's default theme."
|
||||||
|
|
||||||
(when prelude-use-minimalistic-ui
|
(when prelude-use-minimalistic-ui
|
||||||
;; the toolbar is just a waste of valuable screen estate
|
;; the toolbar is just a waste of valuable screen estate
|
||||||
(tool-bar-mode -1)
|
;; in a tty tool-bar-mode does not properly auto-load, and is
|
||||||
|
;; already disabled anyway
|
||||||
|
(when (fboundp 'tool-bar-mode)
|
||||||
|
(tool-bar-mode -1))
|
||||||
;; the menu bar is mostly useless as well
|
;; the menu bar is mostly useless as well
|
||||||
;; but removing it under OS X doesn't make much sense
|
;; but removing it under OS X doesn't make much sense
|
||||||
(unless (eq system-type 'darwin)
|
(unless (eq system-type 'darwin)
|
||||||
|
|
Loading…
Reference in a new issue