aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/early-init.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-06-27 16:03:17 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-06-27 16:03:17 +0100
commitdf99c034f7bd2221eff99aa4c81785c3c92af0df (patch)
tree44075ce70244e072d7b30374dce6d23745479b31 /Emacs/.config/emacs/early-init.el
parent97dff1f94e454ad1f8721e871cc080680effb868 (diff)
downloaddotfiles-df99c034f7bd2221eff99aa4c81785c3c92af0df.tar.gz
dotfiles-df99c034f7bd2221eff99aa4c81785c3c92af0df.tar.bz2
dotfiles-df99c034f7bd2221eff99aa4c81785c3c92af0df.zip
(Emacs)~fix problems with scroll bars appearing in early-init
Just a different value to set.
Diffstat (limited to 'Emacs/.config/emacs/early-init.el')
-rw-r--r--Emacs/.config/emacs/early-init.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/early-init.el b/Emacs/.config/emacs/early-init.el
index 09b2408..1c3d537 100644
--- a/Emacs/.config/emacs/early-init.el
+++ b/Emacs/.config/emacs/early-init.el
@@ -49,18 +49,20 @@
;; turn off the menu bar, tool bar, scroll bar, fringes
;; also set the transparency (active inactive)
(setq-default
- default-frame-alist '((menu-bar-lines . 0)
- (tool-bar-lines . 0)
- (scroll-bar-lines . 0)
- (vertical-scroll-bars . 0)
+ default-frame-alist '((menu-bar-lines . nil)
+ (tool-bar-lines . nil)
+ (scroll-bar-lines . nil)
+ (vertical-scroll-bars . nil)
(left-fringe . 0)
(right-fringe . 0)
(alpha . (90 80)))
menu-bar-mode nil
tool-bar-mode nil
scroll-bar-mode nil)
+
;; Disable making the tool bar
(advice-add #'tool-bar-setup :override #'ignore)
+
;; Even though we disable the startup screen in the config, we need to do this
;; to ensure it actually doesn't display it
(advice-add #'display-startup-screen :override #'ignore)