summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-03-21 03:49:08 -0500
committerJohn Wiegley <johnw@newartisans.com>2015-03-21 03:49:08 -0500
commitd70d70843a3c1b1fbb12267368ae24409d8e950e (patch)
tree8a082f9525ad97999c2ad28acc21d486fa3a6819
parent8c00f108bfa31bae6dfde16a29e7744f8c8ffc96 (diff)
downloademacs-d70d70843a.tar.gz
Correction to an eval-after-load expansion
-rw-r--r--lisp/use-package/use-package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el
index 5f911e3b718..4c8aad9f57a 100644
--- a/lisp/use-package/use-package.el
+++ b/lisp/use-package/use-package.el
@@ -864,7 +864,7 @@ deferred until the prefix key sequence is pressed."
body
(list t))))))
(if (plist-get state :deferred)
- (unless (equal config-body '(t))
+ (unless (or (null config-body) (equal config-body '(t)))
`((eval-after-load ',name-symbol
',(macroexp-progn config-body))))
(use-package--with-elapsed-timer