aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-package.el
blob: ab9b1fa275a134527ae7ebe26acd45249f5a167f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(require 'package)
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
                         ("mepla" . "https://melpa.org/packages/")
                         ("melpa-stable" . "https://stable.melpa.org/packages/")))
(package-initialize)

(dolist (package '(use-package))
  (unless (package-installed-p package)
    (package-refresh-contents)
    (package-install package)))
(require 'use-package)
(setq use-package-always-ensure t)

(provide 'init-package)