From 9003956ed4fe9e4dfef3b804920fb683d672a9c4 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 23 Nov 2018 15:48:27 -0500 Subject: [PATCH] Load quelpa from melpa, simplify config --- .emacs.d/init.el | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f4f43e6..dfb7577 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -38,19 +38,15 @@ auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) ;;; Packages -;;;; install/load quelpa +;;;; packaging related stuff (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) -(setq quelpa-update-melpa-p nil) -(unless (require 'quelpa nil t) - (with-temp-buffer - (url-insert-file-contents "https://raw.github.com/quelpa/quelpa/master/bootstrap.el") - (eval-buffer))) - -;;;; install quelpa-use-package -(quelpa 'quelpa-use-package) -(require 'quelpa-use-package) +(use-package quelpa :ensure + :init + (setq quelpa-update-melpa-p nil) + :config + (use-package quelpa-use-package :ensure)) ;;;; internal packages (use-package ibuffer