tvl-depot/configs/shared/emacs/.emacs.d/wpc/packages/wpc-package.el
William Carroll 44e46bbce2 Fix Emacs installation
My Emacs installation would fail on new machines because:

* use-package
* evil
* paredit

use-package is needed to install everything else.

evil and paredit were required in functions.el and other places before they were
called like (use-package evil ...). This should improve things but not fix the
entire issue.
2019-03-11 23:08:23 +00:00

27 lines
759 B
EmacsLisp

;;; 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)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-when-compile
(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/")
(add-to-list 'load-path "~/.emacs.d/wpc/packages")
(provide 'wpc-package)
;;; wpc-package.el ends here