all repos — archive/dotfiles @ f863fa4ec320235719957b4309ca0e94d63b6d9d

Superseded by nixfiles

Emacs: download package lists if nonexistant to ease bootstrapping
Alan Pearce alan@alanpearce.co.uk
Sat, 18 May 2013 21:31:25 +0100
commit

f863fa4ec320235719957b4309ca0e94d63b6d9d

parent

929b15f975cba6515e44abe35c0ff2e807bc7be1

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -51,6 +51,9 @@ (eval-and-compile
   (package-initialize))
 
+(when (not package-archive-contents)
+  (package-refresh-contents))
+
 (add-to-list 'load-path *elisp-dir*)
 
 (mapc (lambda (package-name)