about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-06T17·08+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-07T15·08+0000
commit7db36dc24d591a0361a8d76711ae85b6b274bfeb (patch)
tree5667b2b7f5bc8704390279a8e9c79bd6cbe5794c
parent6a629f17200678cfd5fe9e9cd5bdda4a7a089652 (diff)
Renew support for Melpa
This was removed when I was still trialing Nix. Since I need to be on
gLinux for work and Nix isn't an option, I need something that works.
-rw-r--r--configs/shared/emacs/.emacs.d/wpc/packages/wpc-package.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-package.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-package.el
index d45150e528c2..4713dffd8486 100644
--- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-package.el
+++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-package.el
@@ -8,10 +8,12 @@
 ;;; Code:
 
 (require 'package)
+(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
 (package-initialize)
 
-(require 'general)
 (require 'use-package)
+(setq use-package-always-ensure t)
+(use-package general)
 
 (add-to-list 'load-path "~/.emacs.d/vendor/")
 (add-to-list 'load-path "~/.emacs.d/wpc/")