Work around the “Bad Request” error with elpa.gnu.org
This commit is contained in:
parent
52797d3917
commit
8386052858
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 20190622162418
|
;; Version: 20190818171115
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
;; it under the terms of the GNU General Public License as published by
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'gnutls)
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(require 'package-x)
|
(require 'package-x)
|
||||||
|
|
||||||
|
@ -67,6 +68,10 @@
|
||||||
(setq package-archive-upload-base
|
(setq package-archive-upload-base
|
||||||
"bin/")
|
"bin/")
|
||||||
|
|
||||||
|
;;; To fix "Bad Request" errors when downoading from elpa.gnu.org. This turns
|
||||||
|
;;; off TLS1.3 it seems to me.
|
||||||
|
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
|
||||||
|
|
||||||
;;; Temporary fix for `package-maint-add-news-item', until I get my
|
;;; Temporary fix for `package-maint-add-news-item', until I get my
|
||||||
;;; Copyright assignment back in order.
|
;;; Copyright assignment back in order.
|
||||||
(defun package-maint-add-news-item (title description archive-url)
|
(defun package-maint-add-news-item (title description archive-url)
|
||||||
|
|
Loading…
Reference in a new issue