Include package autoloads in doom-autoloads-file

This offloads some of the work Doom has to do creating
`doom-packages-file` onto `make autoloads`. This closely mimics the
package-quickstart-refresh functionality in Emacs 27+, but is more
specialized.

This means package autoloads are now loaded on every startup.

Many :mode, :interpreter, and :commands declarations in def-package!
blocks are made redundant by this and will be cleaned up soon.
This commit is contained in:
Henrik Lissner 2018-05-15 22:17:41 +02:00
parent 8428a7a4ef
commit 18e6a6b1db
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 31 additions and 43 deletions

View file

@ -107,10 +107,6 @@ XDG directory conventions if ~/.config/doom exists.")
(defvar doom-init-hook nil
"A list of hooks run when DOOM is initialized.")
(defvar doom-internal-init-hook nil
"Hooks run after Doom has loaded all init.el files, and is ready to load
modules.")
;;
;; Emacs fixes/hacks