]> git.eshelyaron.com Git - emacs.git/commitdiff
Return `t' after calling `eval-after-load'
authorJohn Wiegley <johnw@newartisans.com>
Thu, 16 Feb 2017 19:44:41 +0000 (11:44 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 16 Feb 2017 19:44:41 +0000 (11:44 -0800)
Fixes https://github.com/jwiegley/use-package/issues/174

lisp/use-package/use-package.el

index bb9fb4855ffcd46cd66f3272713fe90a19809f8c..733a6316647030cb8b144a4512b8f32d03d70a1e 100644 (file)
@@ -1070,8 +1070,10 @@ deferred until the prefix key sequence is pressed."
                (list t))))))
     (if (plist-get state :deferred)
         (unless (or (null config-body) (equal config-body '(t)))
-          `((eval-after-load ,(if (symbolp name) `',name name)
-              ',(macroexp-progn config-body))))
+          `((progn
+              (eval-after-load ,(if (symbolp name) `',name name)
+                ',(macroexp-progn config-body))
+              t)))
       (use-package--with-elapsed-timer
           (format "Loading package %s" name)
         (if use-package-expand-minimally