{menu,tool,scroll}-bar-mode = nil

See comments.
This commit is contained in:
Henrik Lissner 2020-05-20 15:40:39 -04:00
parent 196490c772
commit dd0da922a3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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