Code style

This commit is contained in:
Bozhidar Batsov 2017-01-04 01:18:41 +02:00
parent fbc6d1559a
commit 4ab668ddef

View file

@ -35,12 +35,14 @@
(require 'cl) (require 'cl)
(require 'package) (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) (if (eq system-type 'windows-nt)
(add-to-list 'package-archives (add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t) '("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives (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 ;; set package-user-dir to be relative to Prelude install path
(setq package-user-dir (expand-file-name "elpa" prelude-dir)) (setq package-user-dir (expand-file-name "elpa" prelude-dir))
(package-initialize) (package-initialize)