emacs - No GUI in terminal

This commit is contained in:
madmaurice 2017-10-12 20:55:58 +02:00
parent 8d8181676b
commit 3a00e8c443

View file

@ -95,9 +95,10 @@
'(powerline-evil-replace-face ((t (:inherit powerline-evil-base-face :background "dark red"))))) '(powerline-evil-replace-face ((t (:inherit powerline-evil-base-face :background "dark red")))))
;; Disable unnecessary UI ;; Disable unnecessary UI
(when window-system
(scroll-bar-mode -1) (scroll-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)
(menu-bar-mode -1) (menu-bar-mode -1))
;; ensure repo cache is up1date ;; ensure repo cache is up1date
(or (file-exists-p package-user-dir) (or (file-exists-p package-user-dir)
@ -254,6 +255,7 @@
(use-package company (use-package company
:ensure t :ensure t
:demand t :demand t
:delight
:config :config
(global-company-mode) (global-company-mode)
(setq company-global-modes '(not git-commit-mode)) (setq company-global-modes '(not git-commit-mode))