]> git.eshelyaron.com Git - emacs.git/commitdiff
Restore an earlier fix to
authorJohn Wiegley <johnw@newartisans.com>
Sun, 15 Mar 2015 23:45:41 +0000 (18:45 -0500)
committerJohn Wiegley <johnw@newartisans.com>
Sun, 15 Mar 2015 23:45:41 +0000 (18:45 -0500)
Fixes https://github.com/jwiegley/use-package/issues/167
GitHub-reference: https://github.com/jwiegley/use-package/issues/53

lisp/use-package/use-package.el

index ce96a701ebc39a420de59d79bbf249c168a66795..1693698b5ef1ecaf5ba64c5ebb070024df19cf17 100644 (file)
@@ -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)