Ensure menu/tool/scroll bars are disabled
This commit is contained in:
parent
bd944634bc
commit
900ec70ee3
2 changed files with 7 additions and 8 deletions
|
@ -13,10 +13,9 @@
|
|||
(advice-add #'package--ensure-init-file :override #'ignore)
|
||||
|
||||
;; Prevent the glimpse of un-styled Emacs by disabling these UI elements early.
|
||||
(setq tool-bar-mode nil
|
||||
menu-bar-mode nil)
|
||||
(when (fboundp 'set-scroll-bar-mode)
|
||||
(set-scroll-bar-mode nil))
|
||||
(push '(menu-bar-lines . 0) default-frame-alist)
|
||||
(push '(tool-bar-lines . 0) default-frame-alist)
|
||||
(push '(vertical-scroll-bars) default-frame-alist)
|
||||
|
||||
;; Resizing the Emacs frame can be a terribly expensive part of changing the
|
||||
;; font. By inhibiting this, we easily halve startup times with fonts that are
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue