From f863fa4ec320235719957b4309ca0e94d63b6d9d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 18 May 2013 21:31:25 +0100 Subject: Emacs: download package lists if nonexistant to ease bootstrapping --- emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 08a793f..c64a6ce 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -51,6 +51,9 @@ Values: `desktop', `server', `laptop'") (eval-and-compile (package-initialize)) +(when (not package-archive-contents) + (package-refresh-contents)) + (add-to-list 'load-path *elisp-dir*) (mapc (lambda (package-name) -- cgit 1.4.1