Fix void-variable: use-package-defaults error
In case use-package hasn't been loaded by this point (if the config has been fulled byte-compiled).
This commit is contained in:
parent
e99ae5382c
commit
ecdde3f377
1 changed files with 1 additions and 0 deletions
|
@ -750,6 +750,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||
(message "No targets to %scompile" (if recompile-p "re" "")))
|
||||
(cl-return-from 'byte-compile))
|
||||
(condition-case e
|
||||
(require 'use-package)
|
||||
(let ((use-package-defaults use-package-defaults)
|
||||
(use-package-expand-minimally t))
|
||||
;; Prevent packages from being loaded at compile time if they
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue