From: Phil Hudson Date: Tue, 15 Oct 2013 16:53:58 +0000 (+0100) Subject: Properly enable runtime dependency for :idle stanza (issue) X-Git-Tag: emacs-29.0.90~1306^2~15^2~435^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a116fc2136f66281846653b974413147a9765260;p=emacs.git Properly enable runtime dependency for :idle stanza (issue) See issue https://github.com/jwiegley/use-package/issues/60. GitHub-reference: https://github.com/jwiegley/use-package/issues/60 --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 736228742c8..316e37ee330 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -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)))