From: John Wiegley Date: Fri, 1 Dec 2017 08:45:04 +0000 (-0800) Subject: Always use `load' when loading for the sake of compilation X-Git-Tag: emacs-29.0.90~1306^2~15^2~206 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f1e8b6b72;p=emacs.git Always use `load' when loading for the sake of compilation --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 2ab0135e753..044d79d4a95 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -1763,7 +1763,9 @@ this file. Usage: ,(if (eq use-package-verbose 'debug) `(message "Compiling package %s" ',name-symbol)) ,(unless (plist-get args :no-require) - (use-package-load-name name))))))) + `(load ,(if (stringp name) + name + (symbol-name name)) nil t))))))) (let ((body (macroexp-progn