Emacs: Fix for elpa not working

This commit is contained in:
Marcel Kapfer 2019-08-26 17:22:34 +02:00
parent 84382b6586
commit 9b23058122
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
(require 'package)
(setq package-enable-on-startup nil)
;; Fix for elpa. See:
;; - https://old.reddit.com/r/emacs/comments/cdf48c/failed_to_download_gnu_archive/
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)