Add a workaround for when ELPA is down
This commit is contained in:
parent
fafec65119
commit
2e0af9dd83
2
init.el
2
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue