From 0c72fdb59350d27a24ecb6ad1d3bebb17a69dd69 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 01 Jan 2022 07:19:35 +0000
Subject: [PATCH] Set to always ensure

---
 init.el |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/init.el b/init.el
index 7c3dd14..b2d822e 100644
--- a/init.el
+++ b/init.el
@@ -4,9 +4,9 @@
 
 ;; Repos
 (require 'package)
-(setq package-archives '(("gnu"   . "http://elpa.gnu.org/packages/")
-			 ("melpa" . "https://melpa.org/packages/")
-			 ("org"   . "https://orgmode.org/elpa/")))
+(setq package-archives '(("gnu"   . "https://elpa.gnu.org/packages/")
+			 ("nongnu"  . "https://elpa.nongnu.org/nongnu/")
+			 ("melpa" . "https://melpa.org/packages/")))
 (package-initialize)
 
 ;; use-package
@@ -16,6 +16,8 @@
 
 (eval-when-compile
   (require 'use-package))
+(require 'use-package-ensure)
+(setq use-package-always-ensure t)
 
 ;; auto-package-update
 (use-package auto-package-update
@@ -26,8 +28,7 @@
   (auto-package-update-maybe))
 
 ;; diminish
-(use-package diminish
-  :ensure t)
+(use-package diminish)
 
 ;; redirect to org config file
 (when (file-readable-p "~/.emacs.d/config.org")

--
Gitblit v1.9.3