emacs: lower the gc-cons-threshold

This commit is contained in:
Protesilaos Stavrou 2025-04-29 07:10:55 +03:00
parent 9c9c46b44b
commit 820edb6e22
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ Simplified version of `add-to-list'."
(add-hook 'emacs-startup-hook
(lambda ()
(setq gc-cons-threshold (* 1000 1000 8)
(setq gc-cons-threshold (* 100 100 8)
gc-cons-percentage 0.1
file-name-handler-alist prot-emacs--file-name-handler-alist
vc-handled-backends prot-emacs--vc-handled-backends)))

View file

@ -367,7 +367,7 @@ once Emacs is done loading.
(add-hook 'emacs-startup-hook
(lambda ()
(setq gc-cons-threshold (* 1000 1000 8)
(setq gc-cons-threshold (* 100 100 8)
gc-cons-percentage 0.1
file-name-handler-alist prot-emacs--file-name-handler-alist
vc-handled-backends prot-emacs--vc-handled-backends)))