diff options
author | David Thompson <davet@gnu.org> | 2015-06-09 19:12:16 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-06-09 19:58:52 -0400 |
commit | 33f35073db6b785a91b7e881b828efe68106b253 (patch) | |
tree | d2d2de05d36ad16b30f86578464fe163e3afb46f | |
parent | 79fe129219c20664a44c9ff8b3c4c7f9bb17674f (diff) |
emacs: Refresh package contents before installing.
-rw-r--r-- | dotfiles/.emacs.d/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el index 54e426b..610b3b2 100644 --- a/dotfiles/.emacs.d/init.el +++ b/dotfiles/.emacs.d/init.el @@ -39,6 +39,7 @@ (defun install-missing-packages () "Install all required packages that haven't been installed." (interactive) + (package-refresh-contents) (mapc (lambda (package) (unless (package-installed-p package) (package-install package))) |