diff --git a/thoom-emacs/early-init.el b/thoom-emacs/early-init.el index 384d208..1296010 100644 --- a/thoom-emacs/early-init.el +++ b/thoom-emacs/early-init.el @@ -1,2 +1,8 @@ ;; Disable package.el in favor of straight.el (setq package-enable-at-startup nil) + +(setq gc-cons-threshold most-positive-fixnum) + +(add-hook 'emacs-startup-hook + (lambda () + (setq gc-cons-threshold (* 16 1024 1024))))