doomemacs/core
Edwin Török 228204926d Load .elc even for themes
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>
2018-09-20 00:41:54 +01:00
..
autoload Rename doom*newline-and-indent 2018-09-14 10:42:09 -04:00
cli Revert 142d364 2018-09-14 09:39:40 -04:00
templates Add option to load doom in vanilla sandbox 2018-08-12 02:45:01 +02:00
test Remove doom-major-mode-names & doom|set-mode-name 2018-09-18 15:19:50 -04:00
core-cli.el Revise docstrings for run/doc dispatchers 2018-09-09 23:16:55 -04:00
core-editor.el Refactor doom core files 2018-09-09 09:58:20 -04:00
core-keybinds.el Refactor/reformat core-ui 2018-09-18 15:19:50 -04:00
core-lib.el make compile-core: fix warnings 2018-09-12 23:03:23 +01:00
core-modules.el Remove sharp-quote on make-hash-table :test 2018-09-13 19:15:12 -04:00
core-os.el General formatting & minor refactors 2018-09-02 17:20:19 +02:00
core-packages.el Remove third line in section headers 2018-09-09 09:58:19 -04:00
core-projects.el Refactor doom core files 2018-09-09 09:58:20 -04:00
core-ui.el Load .elc even for themes 2018-09-20 00:41:54 +01:00
core.el Couple core-packages to package.el sooner 2018-09-18 15:19:50 -04:00
packages.el Replace delete-trailing-whitespace with ws-butler 2018-08-31 13:59:12 +02:00