mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: lower the gc-cons-threshold
This commit is contained in:
parent
9c9c46b44b
commit
820edb6e22
|
|
@ -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)))
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue