diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-09-13 16:03:02 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-09-13 16:03:02 +0100 |
commit | b5551f53fb9b56aa5ba870b20fa69d15a5babc89 (patch) | |
tree | a272cabe3c107d9b75a62021c7057910cdd8de3b | |
parent | 76b31811c08e863934abc71054c5467993576598 (diff) | |
download | dotfiles-b5551f53fb9b56aa5ba870b20fa69d15a5babc89.tar.gz |
Fix terminal startup issue
-rw-r--r-- | .emacs.d/early-init.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 8bdcc72..a12132e 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -19,9 +19,10 @@ (add-to-list 'default-frame-alist '(fullscreen . maximized)) (menu-bar-mode -1) -(tool-bar-mode -1) -(scroll-bar-mode -1) -(horizontal-scroll-bar-mode -1) +(when window-system + (tool-bar-mode -1) + (scroll-bar-mode -1) + (horizontal-scroll-bar-mode -1)) (setq package-enable-at-startup nil) |