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