Load quelpa from melpa, simplify config

This commit is contained in:
Adam Goldsmith 2018-11-23 15:48:27 -05:00
parent d7d64f6215
commit 9003956ed4

View File

@ -38,19 +38,15 @@
auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) auto-save-file-name-transforms `((".*" ,temporary-file-directory t)))
;;; Packages ;;; Packages
;;;; install/load quelpa ;;;; packaging related stuff
(require 'package) (require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize) (package-initialize)
(use-package quelpa :ensure
:init
(setq quelpa-update-melpa-p nil) (setq quelpa-update-melpa-p nil)
(unless (require 'quelpa nil t) :config
(with-temp-buffer (use-package quelpa-use-package :ensure))
(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)
;;;; internal packages ;;;; internal packages
(use-package ibuffer (use-package ibuffer