emacs/lib/package-config.el

13 lines
495 B
EmacsLisp
Raw Normal View History

;;; package-config.el -- Setup package.el archives and priorities -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(use-package package
:custom
(package-archive-priorities '(("melpa" . 10) ("stable" . 5) ("nongnu" . 5) ("gnu" . 0)))
:config
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
(package-initialize))
(provide 'package-config)
;;; package-config.el ends here