From 7aa80639f92f1c8359b5311014e2fc22831eba86 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 1 Apr 2026 11:49:47 -0400 Subject: Update emacs config --- .emacs.d/early-init.el | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .emacs.d/early-init.el (limited to '.emacs.d/early-init.el') diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el new file mode 100644 index 0000000..2f887b9 --- /dev/null +++ b/.emacs.d/early-init.el @@ -0,0 +1,6 @@ +;; Temporarily increase GC threshold during startup +(setq gc-cons-threshold most-positive-fixnum) + +;; Restore to normal value after startup (e.g. 50MB) +(add-hook 'emacs-startup-hook + (lambda () (setq gc-cons-threshold (* 50 1024 1024)))) -- cgit v1.2.3