https? shrug

This commit is contained in:
John Doty 2020-02-18 06:23:41 -08:00
parent 89ffba43ac
commit 3b27c0236d

View file

@ -88,12 +88,13 @@
;; ================================================================= ;; =================================================================
;; Packages ;; Packages
;; ================================================================= ;; =================================================================
;; See http://dotyl.ink/l/qbmhz43kju
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p)))) (not (gnutls-available-p))))
(proto (if no-ssl "http" "https"))) (proto (if no-ssl "http" "https")))
(setq package-archives (setq package-archives
'(("gnu" . "http://elpa.gnu.org/packages/") '(("gnu" . "https://elpa.gnu.org/packages/")
("org" . "http://orgmode.org/elpa/") ("org" . "https://orgmode.org/elpa/")
)) ))
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t) (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)