summaryrefslogtreecommitdiffstats
path: root/lisp/init-package.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-package.el')
-rw-r--r--lisp/init-package.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-package.el b/lisp/init-package.el
index adce2a2..38c241d 100644
--- a/lisp/init-package.el
+++ b/lisp/init-package.el
@@ -4,6 +4,9 @@
'("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
+;; workaround for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34341
+(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
+
(defun require-package (package &optional min-version no-refresh)
"Install given PACKAGE, optionally requiring MIN-VERSION.
If NO-REFRESH is non-nil, the available package lists will not be