summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-06-09 19:12:16 -0400
committerDavid Thompson <davet@gnu.org>2015-06-09 19:58:52 -0400
commit33f35073db6b785a91b7e881b828efe68106b253 (patch)
treed2d2de05d36ad16b30f86578464fe163e3afb46f
parent79fe129219c20664a44c9ff8b3c4c7f9bb17674f (diff)
emacs: Refresh package contents before installing.
-rw-r--r--dotfiles/.emacs.d/init.el1
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)))