Switch back to https Melpa for doc site related pkg installs

Earlier I switched to http for Melpa because of this bug:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25061#90

That bug has been fixed on emacs-26 branch.
master
Kaushal Modi 8 years ago
parent bdb2dc3b07
commit 80809d16c4
  1. 12
      test/setup-ox-hugo.el

@ -1,4 +1,4 @@
;; Time-stamp: <2017-12-19 15:34:39 kmodi>
;; Time-stamp: <2017-12-19 16:16:22 kmodi>
;; Setup to export Org files to Hugo-compatible Markdown using
;; `ox-hugo' in an "emacs -Q" environment.
@ -89,12 +89,10 @@ even if they are found as dependencies."
;; Below require will auto-create `package-user-dir' it doesn't exist.
(require 'package)
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25061#90
;; (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
;; (not (gnutls-available-p))))
;; (url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
;; (add-to-list 'package-archives (cons "melpa" url) :append))
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) ;For `toc-org'
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
(add-to-list 'package-archives (cons "melpa" url))) ;For `toc-org'
;; Even if we don't need to install Org from Elpa, we need to
;; add Org Elpa in `package-archives' to prevent the "Package

Loading…
Cancel
Save