(Emacs)~fix problems with scroll bars appearing in early-init

Just a different value to set.
This commit is contained in:
2024-06-27 16:03:17 +01:00
parent 97dff1f94e
commit df99c034f7

View File

@@ -49,18 +49,20 @@
;; turn off the menu bar, tool bar, scroll bar, fringes ;; turn off the menu bar, tool bar, scroll bar, fringes
;; also set the transparency (active inactive) ;; also set the transparency (active inactive)
(setq-default (setq-default
default-frame-alist '((menu-bar-lines . 0) default-frame-alist '((menu-bar-lines . nil)
(tool-bar-lines . 0) (tool-bar-lines . nil)
(scroll-bar-lines . 0) (scroll-bar-lines . nil)
(vertical-scroll-bars . 0) (vertical-scroll-bars . nil)
(left-fringe . 0) (left-fringe . 0)
(right-fringe . 0) (right-fringe . 0)
(alpha . (90 80))) (alpha . (90 80)))
menu-bar-mode nil menu-bar-mode nil
tool-bar-mode nil tool-bar-mode nil
scroll-bar-mode nil) scroll-bar-mode nil)
;; Disable making the tool bar ;; Disable making the tool bar
(advice-add #'tool-bar-setup :override #'ignore) (advice-add #'tool-bar-setup :override #'ignore)
;; Even though we disable the startup screen in the config, we need to do this ;; Even though we disable the startup screen in the config, we need to do this
;; to ensure it actually doesn't display it ;; to ensure it actually doesn't display it
(advice-add #'display-startup-screen :override #'ignore) (advice-add #'display-startup-screen :override #'ignore)