Move compile-time fix for disabled packages
This fix prevented the byte-compiler from trying to load packages that were disabled or failed their :when/:unless/:if predicates. This commit moves it into doom-byte-compile, so the :no-require predicate doesn't have to run on every package in an interactive session, eating MY PRECIOUS cpu cycles. I do love my cpu cycles, yessiree.
This commit is contained in:
parent
ab07e07352
commit
32954ecb69
3 changed files with 22 additions and 22 deletions
|
@ -162,6 +162,7 @@ else (except for `window-setup-hook').")
|
|||
use-package-compute-statistics doom-debug-mode
|
||||
use-package-verbose doom-debug-mode
|
||||
use-package-minimum-reported-time (if doom-debug-mode 0 0.1)
|
||||
use-package-expand-minimally (not noninteractive)
|
||||
;; byte compilation
|
||||
byte-compile-verbose doom-debug-mode
|
||||
byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue