]> git.eshelyaron.com Git - emacs.git/commitdiff
Properly enable runtime dependency for :idle stanza (issue)
authorPhil Hudson <phil.hudson@iname.com>
Tue, 15 Oct 2013 16:53:58 +0000 (17:53 +0100)
committerPhil Hudson <phil.hudson@iname.com>
Tue, 15 Oct 2013 16:53:58 +0000 (17:53 +0100)
See issue https://github.com/jwiegley/use-package/issues/60.
GitHub-reference: https://github.com/jwiegley/use-package/issues/60

lisp/use-package/use-package.el

index 736228742c8a0882c7247263a57250f1dbf3ca6e..316e37ee33096832dfde150340625f6d46dfffcb 100644 (file)
@@ -542,6 +542,7 @@ For full documentation. please see commentary.
       (when idle-body
         (setq init-body
               `(progn
+                 (require 'use-package)
                  (use-package-init-on-idle (lambda () ,idle-body))
                    ,init-body)))