From dd0da922a30f976707415c248abe8489aeb96644 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 20 May 2020 15:40:39 -0400 Subject: [PATCH] {menu,tool,scroll}-bar-mode = nil See comments. --- core/core-ui.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/core-ui.el b/core/core-ui.el index ea788cd97..d81625c91 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -306,6 +306,13 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original (add-to-list 'default-frame-alist '(tool-bar-lines . 0)) (add-to-list 'default-frame-alist '(vertical-scroll-bars))) +;; These are disabled directly through their frame parameters, to avoid the +;; extra work their minor modes do, but we have to unset these variables +;; ourselves, otherwise users will have to cycle them twice to re-enable them. +(setq menu-bar-mode nil + tool-bar-mode nil + scroll-bar-mode nil) + (when! IS-MAC ;; Curse Lion and its sudden but inevitable fullscreen mode! ;; NOTE Meaningless to railwaycat's emacs-mac build