Redesign Doom bootstrap, caching & autoload generation logic

The autoloads file has been split into doom-autoload-file and
doom-package-autoload-file. The former is for Doom's modules and
standard library; the latter is for compiling all package autoloads like
load-path and auto-mode-alist (among other things).

This reduced my startup speed from ~1s to ~0.5s
This commit is contained in:
Henrik Lissner
2018-05-24 19:00:41 +02:00
parent 3dd291a675
commit 8746c12fae
4 changed files with 413 additions and 259 deletions

View File

@ -31,5 +31,3 @@
load-prefer-newer noninteractive)
(require 'core (concat user-emacs-directory "core/core"))
(when noninteractive
(require 'core-dispatcher))