Make loading faster by eliminating require blocks
Some checks failed
/ Test config on 20 (push) Failing after 45s

This commit is contained in:
Maciej 2025-01-17 10:22:38 +02:00
parent 3641dad52a
commit 118cf92a27
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
37 changed files with 234 additions and 211 deletions

View file

@ -12,7 +12,12 @@
;; Set GC at 500 MB for startup
(setopt gc-cons-threshold 500000000)
(setopt gc-cons-percentage 0.6)
(setopt gc-cons-percentage 5.0)
(add-hook 'after-init-hook (lambda ()
;; Restore GC to normal, but still high
(setopt gc-cons-threshold 204800000)
(setopt gc-cons-percentage 0.2)))
;; Allow for deeper stacktraces / recursion
;; (setopt max-lisp-eval-depth 10000)
@ -138,9 +143,5 @@
;; Diminish modeline litter
(use-package icejam-diminish :ensure nil)
;; Restore GC to normal, but still high
(setopt gc-cons-threshold 204800000)
(setopt gc-cons-percentage 0.2)
(provide 'icejam-custom-init)
;;; icejam-custom-init.el ends here