Move startup optimization to early-init
Also load early-init from init if early-init-file isn't bound. This improves startup a modest 3-5% for Emacs 27 users.
This commit is contained in:
parent
126b7b6383
commit
b656e68bc3
3 changed files with 42 additions and 51 deletions
|
@ -609,9 +609,6 @@ frame's window-system, the theme will be reloaded.")
|
|||
(setq frame-title-format '("%b – Doom Emacs"))
|
||||
;; draw me like one of your French editors
|
||||
(tooltip-mode -1) ; relegate tooltips to echo area only
|
||||
(menu-bar-mode -1)
|
||||
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
|
||||
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
|
||||
;; prompts the user for confirmation when deleting a non-empty frame
|
||||
(define-key global-map [remap delete-frame] #'doom/delete-frame)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue