From 27fd32c47bf23a996c4542aa9e7b14f451b94f17 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Fri, 12 Jul 2019 08:25:21 -0700 Subject: [PATCH] Use `require', not `load', when byte-compiling --- lisp/use-package/use-package-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 7b4d26ba2a3..b80da77fd81 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -651,7 +651,7 @@ extending any keys already present." ,(when (eq use-package-verbose 'debug) `(message ,(format "Compiling package %s" name-string))) ,(unless (plist-get args :no-require) - `(load ,name-string nil t))))))))) + `(require ',name-symbol))))))))) ;; Certain keywords imply :defer, if :demand was not specified. (when (and (not (plist-member args :demand)) -- 2.39.2