Move GUI disabling to early-init.el
This way we can void drawing elements that will be disabled anyway. Inspired by https://emacsredux.com/blog/2025/03/28/speed-up-emacs-startup-by-tweaking-the-gc-settings/.
This commit is contained in:
parent
b8147a6d45
commit
69e917ec86
@ -16,3 +16,12 @@
|
||||
|
||||
(setq frame-resize-pixelwise t
|
||||
frame-inhibit-implied-resize t)
|
||||
|
||||
(dolist (mode '(tool-bar-mode
|
||||
scroll-bar-mode
|
||||
menu-bar-mode
|
||||
blink-cursor-mode
|
||||
tooltip-mode))
|
||||
(when (fboundp mode)
|
||||
(funcall mode 0)))
|
||||
|
||||
|
||||
8
init.el
8
init.el
@ -2971,14 +2971,6 @@ eventuelly be set to nil, however)."
|
||||
(column-number-mode +1)
|
||||
(delete-selection-mode -1)
|
||||
|
||||
(dolist (mode '(tool-bar-mode
|
||||
scroll-bar-mode
|
||||
menu-bar-mode
|
||||
blink-cursor-mode
|
||||
tooltip-mode))
|
||||
(when (fboundp mode)
|
||||
(funcall mode 0)))
|
||||
|
||||
(electric-indent-mode -1)
|
||||
|
||||
(appt-activate +1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user