Set up for windows

This commit is contained in:
unknown
2017-05-18 00:18:09 +02:00
parent 7217ec7ac8
commit 7ecf2c3b0e
4 changed files with 13 additions and 17 deletions

View File

@@ -1,14 +1,13 @@
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") t
(add-to-list 'load-path "~/.emacs.d/lisp/" t)
(defvar prelude-packages
'(all-the-icons async base16-theme bind-chord bind-key counsel dash diminish
epl evil evil-magit fill-column-indicator font-lock ghc git-commit
epl evil evil-magit fill-column-indicator ghc git-commit
goto-chg haskell-mode ivy key-chord less-css-mode magit magit-popup
pkg-info projectile swiper undo-tree use-package use-package-chords
web-mode with-editor)
@@ -19,10 +18,11 @@
nil
t))
(unless (prelude-packages-installed-p)
(message "%s" "Emacs Prelude is now refreshing its package database...")
(package-refresh-contents)
(message "%s" " done.")
(dolist (p prelude-packages)
(when (not (package-installed-p p))
(package-install p))))
(package-install p)))