From c758618a0982d4be446ba074ebe487f5676fb7d2 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Thu, 28 Dec 2017 14:24:53 -0200 Subject: [PATCH] found a package manager for emacs --- emacs/emacs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs/emacs b/emacs/emacs index bd7859c..934cc74 100644 --- a/emacs/emacs +++ b/emacs/emacs @@ -14,6 +14,13 @@ ;; You may delete these explanatory comments. (package-initialize) +(unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) + +(require 'use-package) +(setq use-package-always-ensure t) + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.