2018-04-25 19:26:53 +02:00
|
|
|
;;; package.el --- My package configuration -*- lexical-binding: t -*-
|
|
|
|
;; Author: William Carroll <wpcarro@gmail.com>
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
;; This module hosts all of the settings required to work with ELPA,
|
|
|
|
;; MELPA, QUELPA, and co.
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
(require 'package)
|
2019-03-06 18:08:01 +01:00
|
|
|
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
|
2018-04-25 19:26:53 +02:00
|
|
|
(package-initialize)
|
|
|
|
|
2019-03-12 00:04:57 +01:00
|
|
|
(unless (package-installed-p 'use-package)
|
|
|
|
(package-refresh-contents)
|
|
|
|
(package-install 'use-package))
|
|
|
|
(eval-when-compile
|
|
|
|
(require 'use-package))
|
2019-03-06 18:08:01 +01:00
|
|
|
(setq use-package-always-ensure t)
|
|
|
|
(use-package general)
|
2018-04-25 19:26:53 +02:00
|
|
|
|
|
|
|
(add-to-list 'load-path "~/.emacs.d/vendor/")
|
|
|
|
(add-to-list 'load-path "~/.emacs.d/wpc/")
|
|
|
|
(add-to-list 'load-path "~/.emacs.d/wpc/packages")
|
|
|
|
|
|
|
|
(provide 'wpc-package)
|
2019-01-13 20:33:17 +01:00
|
|
|
;;; wpc-package.el ends here
|