From 4ab668ddefe064ac6d357b8bd347b94c71b62793 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 4 Jan 2017 01:18:41 +0200 Subject: [PATCH] Code style --- core/prelude-packages.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/prelude-packages.el b/core/prelude-packages.el index 68a3419..19859eb 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -35,12 +35,14 @@ (require 'cl) (require 'package) +;; accessing a package repo over https on Windows is a no go, so we +;; fallback to http there (if (eq system-type 'windows-nt) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/") t) - ) + '("melpa" . "https://melpa.org/packages/") t)) + ;; set package-user-dir to be relative to Prelude install path (setq package-user-dir (expand-file-name "elpa" prelude-dir)) (package-initialize)