From 46ee3020703c951eeb975ff95fad3b1689c20b49 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Mon, 7 Sep 2015 14:27:35 +1000 Subject: [PATCH] Switch default package archive to HTTPS * lisp/emacs-lisp/package.el (package-archives): Use HTTPS to access the default archive, elpa.gnu.org/packages/. Copyright-paperwork-exempt: yes --- lisp/emacs-lisp/package.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 4d3678a..5579db6 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -204,14 +204,14 @@ If VERSION is nil, the package is not loaded (it is \"disabled\")." :risky t :version "24.1") -(defcustom package-archives '(("gnu" . "http://elpa.gnu.org/packages/")) +(defcustom package-archives '(("gnu" . "https://elpa.gnu.org/packages/")) "An alist of archives from which to fetch. The default value points to the GNU Emacs package repository. Each element has the form (ID . LOCATION). ID is an archive name, as a string. LOCATION specifies the base location for the archive. - If it starts with \"http:\", it is treated as a HTTP URL; + If it starts with \"http:\" or \"https:\", it is treated as a URL; otherwise it should be an absolute directory name. (Other types of URL are currently not supported.) -- 1.9.1