From df99c034f7bd2221eff99aa4c81785c3c92af0df Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 27 Jun 2024 16:03:17 +0100 Subject: (Emacs)~fix problems with scroll bars appearing in early-init Just a different value to set. --- Emacs/.config/emacs/early-init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Emacs') 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) -- cgit v1.2.3-13-gbd6f