From 3ba8cf3d8723969a44ca29162a06432d137c19ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 23 Sep 2018 16:33:45 -0500 Subject: Refresh packages in Emacs from elpa --- lisp/init-elpa.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp') diff --git a/lisp/init-elpa.el b/lisp/init-elpa.el index 1a889b8..5ba04d2 100644 --- a/lisp/init-elpa.el +++ b/lisp/init-elpa.el @@ -24,6 +24,11 @@ ("org" . 3))) ;; ================= +;; Refresh packages in Emacs +;; ========================== +(when (not package-archive-contents) + (package-refresh-contents)) + ;;; Find packages if not installed ;; ================================ ;;; On-demand installation of packages -- cgit v1.2.3