Files
sydnix/users/crumb/programs/emacs/lib/syd-prelude.el
Madeleine Sydney ab10e0ca56 wip: feat: Defer many packages
Shaving MILLISECONDS off our startup time!!!  Fuck yes!

I've measured the average startup time to be 0.68s in the previous commit, and an average of 0.52 with this commit.
2025-01-17 16:28:45 -07:00

20 lines
617 B
EmacsLisp

;;; syd-prelude.el -*- lexical-binding: t; -*-
;; (eval-when-compile (require 'cl-lib))
(defvar syd-data-dir
(or (getenv "EMACS_DATA_DIR")
(error "Need $EMACS_DATA_DIR"))
"Directory analogous to XDG_DATA_HOME for miscellaneous Emacs things.")
(defvar syd-cache-dir
(or (getenv "EMACS_CACHE_DIR")
(error "Need $EMACS_CACHE_DIR")))
;; `on.el' provies a collection of utility hooks and functions ported from Doom
;; Emacs. The hooks make it easier to speed up Emacs startup by providing
;; finer-grained control of the timing at which packages are loaded.
(use-package on)
(provide 'syd-prelude)