Restore an earlier fix to

Fixes https://github.com/jwiegley/use-package/issues/167
GitHub-reference: https://github.com/jwiegley/use-package/issues/53
This commit is contained in:
John Wiegley 2015-03-15 18:45:41 -05:00
parent 9385ab417a
commit 03ea5d6dbf

View 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)