blob: 2f887b9f28ccf06d371dd9b02fb7bcd2e7cb4329 (
plain) (
blame)
1
2
3
4
5
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))))
|