mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-04-27 15:20:52 -07:00
Even when an `.elc` is preset `load-theme` would attempt to load the `.el` first, to give the opportunity to inspect the theme. However we are loading themes automatically from (M)ELPA, and loading a theme package is no more dangerous than loading a regular package. So override the search order for themes and atttempt to load the `.elc` first. This improves startup time by ~25ms with the default theme. Improved implementation by @hlissner. Signed-off-by: Edwin Török <edwin@etorok.net> |
||
|---|---|---|
| .. | ||
| autoload | ||
| cli | ||
| templates | ||
| test | ||
| core-cli.el | ||
| core-editor.el | ||
| core-keybinds.el | ||
| core-lib.el | ||
| core-modules.el | ||
| core-os.el | ||
| core-packages.el | ||
| core-projects.el | ||
| core-ui.el | ||
| core.el | ||
| packages.el | ||