Rethink what Doom loads at startup and manually

Better to simply load what we need, when we need it, rather than set up
autoloads for every litte thing.
This commit is contained in:
Henrik Lissner 2018-01-06 17:02:57 -05:00
parent 0042a56d02
commit 31a4244686
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 15 additions and 10 deletions

View file

@ -58,6 +58,7 @@
;; Make expensive php-extras generation async
(unless (file-exists-p (concat php-extras-eldoc-functions-file ".el"))
(message "Generating PHP eldoc files...")
(require 'async)
(async-start `(lambda ()
,(async-inject-variables "\\`\\(load-path\\|php-extras-eldoc-functions-file\\)$")
(require 'php-extras-gen-eldoc)