dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

commit 969610103affa893e4b5dd46eea2909966a8e77d
parent 6d0d58e98e287e559aac5b5560f3b8cf6d55dcf0
Author: Lukas Henkel <lh@entf.net>
Date:   Thu, 15 Jul 2021 20:09:32 +0200

Fix GC disabling code

otherwise GC is always turned off, now it gets turned on on startup again

Diffstat:
Mearly-init.el | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/early-init.el b/early-init.el @@ -1,2 +1,7 @@ +; Disable GC while starting up +(setq startup/gc-cons-threshold gc-cons-threshold) (setq gc-cons-threshold most-positive-fixnum) +(defun startup/reset-gc () + (setq gc-cons-threshold startup/gc-cons-threshold)) +(add-hook 'emacs-startup-hook 'startup/reset-gc) (setq package-enable-at-startup nil)