1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Always use `load' when loading for the sake of compilation

This commit is contained in:
John Wiegley 2017-12-01 00:45:04 -08:00
parent 669e8527fb
commit 5f1e8b6b72

View file

@ -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