No-op package--ensure-init-file completely
Rather than setting package--init-file-ensured to nil. It's less work for Emacs at startup and is functionally equivalent.
This commit is contained in:
parent
995617edf1
commit
a02cfdc365
2 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,7 @@
|
|||
;; loaded, but after `early-init-file'. Doom handles package initialization, so
|
||||
;; we must prevent Emacs from doing it early!
|
||||
(setq package-enable-at-startup nil)
|
||||
(advice-add #'package--ensure-init-file :override #'ignore)
|
||||
|
||||
;; Prevent the glimpse of un-styled Emacs by disabling these UI elements early.
|
||||
(push '(menu-bar-lines . 0) default-frame-alist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue