Files
sydnix/users/crumb/programs/emacs/early-init.el
Madeleine Sydney 55c3db8db5 refactor: Reduce init time }:)
- Greatly increase gc-cons-threshold.  This is the biggest win of this commit, shaving off about 400 ms.  The GC runs a single time during init.
- Sprinkle a few `:defer t`s throughout.

wwwwfeat: Configure Orderless
2025-01-17 16:28:45 -07:00

12 lines
309 B
EmacsLisp

;;; early-init.el -*- lexical-binding: t; -*-
;; Disable package.el; we use Straight.
(setq package-enable-at-startup nil)
;; Enable use-package statistics for the sake of start-up profiling.
(setq use-package-compute-statistics t)
(setq gc-cons-threshold
;; (4 gibibytes)
(* 4 (expt 1024 3)))