]> git.eshelyaron.com Git - emacs.git/commitdiff
Correction to an eval-after-load expansion
authorJohn Wiegley <johnw@newartisans.com>
Sat, 21 Mar 2015 08:49:08 +0000 (03:49 -0500)
committerJohn Wiegley <johnw@newartisans.com>
Sat, 21 Mar 2015 08:49:08 +0000 (03:49 -0500)
lisp/use-package/use-package.el

index 5f911e3b71858f21c88cda8ab85156981385d5d5..4c8aad9f57a15459ae34296467f9de3d7d9c7957 100644 (file)
@@ -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