all repos — archive/dotfiles @ e1baa8f48effd39398ab5051a71d67a1d9b40335

Superseded by nixfiles

Emacs: Lazy-load use-package
Alan Pearce alan.pearce@spotcap.com
Wed, 20 Jan 2016 13:01:07 +0100
commit

e1baa8f48effd39398ab5051a71d67a1d9b40335

parent

e6707113ab902773822c1762ea00a39bdf5c15e9

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -52,7 +52,10 @@ (package-install 'use-package)))   (eval-when-compile (require 'use-package))
   (unless (featurep 'use-package)
     (require 'diminish)
-    (require 'bind-key))
+    (require 'bind-key)
+    (use-package use-package
+      :commands (use-package-autoload-keymap)
+      :defer 5))
   (setq use-package-verbose t
         use-package-always-ensure t
         package-enable-at-startup nil)