Commits

Ron Huang committed cd9c5f2

Initial config based on emacs starter kit v2.

Comments (0)

Files changed (1)

+(require 'package)
+(add-to-list 'package-archives
+             '("marmalade" . "http://marmalade-repo.org/packages/") t)
+(package-initialize)
+
+
+(when (not package-archive-contents)
+  (package-refresh-contents))
+
+;; Add in your own as you wish:
+(defvar my-packages '(starter-kit
+		      starter-kit-bindings
+		      starter-kit-lisp
+		      starter-kit-eshell
+		      starter-kit-js
+		      starter-kit-ruby)
+  "A list of packages to ensure are installed at launch.")
+
+(dolist (p my-packages)
+  (when (not (package-installed-p p))
+    (package-install p)))