mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
Doom saves a lot of startup time by avoiding package-initialize, because it loads every packages' autoloads file, which is expensive. Unfortunately, these autoloads files are necessary for some plugins with abnormal file structures (such as ESS). Previously, I was content with loading them myself, but these occurrences have become more frequent, so it would be safest if I relied on package-initialize more. So doom-initialize will now do so. However, it will cache the load-path (and Info-directory-list, fixing the lost info buffers) on first run. This makes byte-compiling Doom almost useless, but it makes startup just as fast as Doom would be if you had. This needs more testing.