nixos/home/emacs/early-init.el

18 lines
615 B
EmacsLisp
Raw Normal View History

;;; early-init.el --- Emac s early initialization for Crafted Emacs (optional) -*- lexical-binding: t; -*-
;;; Commentary:
;;
;;; Code:
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(setq package-archive-priorities '(("gnu" . 99)
("nongnu" . 80)
("stable" . 70)
("melpa" . 0)))
(when (require 'package nil :noerror) (package-refresh-contents))
(provide 'early-init)
;;; early-init.el ends here