Add a workaround for when ELPA is down

This commit is contained in:
contrapunctus 2021-12-20 15:27:21 +05:30
parent fafec65119
commit 2e0af9dd83
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(require 'package)
;; when GNU ELPA is down
(setq package-archives (assoc-delete-all "gnu" package-archives))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See
;; `package-archive-priorities` and `package-pinned-packages`. Most