Revise comments in early-init.el
This commit is contained in:
parent
a6216b152f
commit
0e1b2453aa
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
||||||
;;; early-init.el -*- lexical-binding: t; -*-
|
;;; early-init.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Later versions of Emacs 27 (on master) introduce a new behavior:
|
;; Emacs HEAD (27+) introduces early-init.el, which is run before init.el,
|
||||||
;;
|
;; before most of its package and UI initialization happens. We can use this
|
||||||
|
;; opportunity to cull parts of the startup process early.
|
||||||
|
|
||||||
;; Package initialize occurs automatically, before `user-init-file' is loaded,
|
;; Package initialize occurs automatically, before `user-init-file' is loaded,
|
||||||
;; but after `early-init-file'. Doom handles package initialization, so we must
|
;; but after `early-init-file'. Doom handles package initialization, so we must
|
||||||
;; prevent Emacs from doing it early!
|
;; prevent Emacs from doing it early!
|
||||||
|
@ -11,3 +13,5 @@
|
||||||
(setq tool-bar-mode nil
|
(setq tool-bar-mode nil
|
||||||
menu-bar-mode nil)
|
menu-bar-mode nil)
|
||||||
(set-scroll-bar-mode nil)
|
(set-scroll-bar-mode nil)
|
||||||
|
|
||||||
|
;; TODO Once Emacs 27 hits stable, perhaps replace init.el with early-init.el
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue