Ensure use-package settings are set @ compile-time

This commit is contained in:
Henrik Lissner 2019-05-13 00:49:00 -04:00
parent 10f60e7918
commit 6ea0c39137
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -220,12 +220,13 @@ non-nil, return paths of possible modules, activated or otherwise."
;; ;;
;;; Use-package modifications ;;; Use-package modifications
(eval-and-compile
(autoload 'use-package "use-package-core" nil nil t) (autoload 'use-package "use-package-core" nil nil t)
(setq use-package-compute-statistics doom-debug-mode (setq use-package-compute-statistics doom-debug-mode
use-package-verbose doom-debug-mode use-package-verbose doom-debug-mode
use-package-minimum-reported-time (if doom-debug-mode 0 0.1) use-package-minimum-reported-time (if doom-debug-mode 0 0.1)
use-package-expand-minimally (not noninteractive)) use-package-expand-minimally (not noninteractive)))
;; Adds two new keywords to `use-package' (and consequently, `def-package!') to ;; Adds two new keywords to `use-package' (and consequently, `def-package!') to
;; expand its lazy-loading capabilities. They are: ;; expand its lazy-loading capabilities. They are: