diff options
author | Alan Pearce | 2013-05-18 21:31:25 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-18 21:31:25 +0100 |
commit | f863fa4ec320235719957b4309ca0e94d63b6d9d (patch) | |
tree | 3d707a510d2798dd36c994f9c97ad85e955795dd | |
parent | 929b15f975cba6515e44abe35c0ff2e807bc7be1 (diff) | |
download | nixfiles-f863fa4ec320235719957b4309ca0e94d63b6d9d.tar.lz nixfiles-f863fa4ec320235719957b4309ca0e94d63b6d9d.tar.zst nixfiles-f863fa4ec320235719957b4309ca0e94d63b6d9d.zip |
Emacs: download package lists if nonexistant to ease bootstrapping
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 08a793f7..c64a6ce3 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) |