From: John Wiegley Date: Sun, 15 Mar 2015 23:45:41 +0000 (-0500) Subject: Restore an earlier fix to X-Git-Tag: emacs-29.0.90~1306^2~15^2~391 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03ea5d6dbf58597525afd2e8cd8f321af18feba9;p=emacs.git Restore an earlier fix to Fixes https://github.com/jwiegley/use-package/issues/167 GitHub-reference: https://github.com/jwiegley/use-package/issues/53 --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index ce96a701ebc..1693698b5ef 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -427,7 +427,7 @@ the user specified.") ,(format "Configuring package %s" name-string) ,@config-body))) - (list `(eval-after-load ,name-string + (list `(eval-after-load ,(if (stringp name) name `',name) ',body))))) `((use-package-with-elapsed-timer ,(format "Loading package %s" name-string)