https? shrug
This commit is contained in:
parent
89ffba43ac
commit
3b27c0236d
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue