nixfiles/modules/aspects/emacs/early-init.el
2026-06-29 16:17:26 +01:00

11 lines
360 B
EmacsLisp

;; Defer GC during startup
(setq gc-cons-threshold most-positive-fixnum)
(add-hook 'emacs-startup-hook
(lambda () (setq gc-cons-threshold (* 16 1024 1024))))
;; Disable before frame init
(setq default-frame-alist
'((tool-bar-lines . 0)
(menu-bar-lines . 0)
(vertical-scroll-bars . nil)
(horizontal-scroll-bars . nil)))