about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--init.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.el b/init.el
new file mode 100644
index 000000000000..0c5dc0bfc78d
--- /dev/null
+++ b/init.el
@@ -0,0 +1,19 @@
+(require 'package)
+(add-to-list 'package-archives
+	     '("marmalade" . "http://marmalade-repo.org/packages/") t)
+(package-initialize)
+
+(when (not package-archive-contents)
+  (package-refresh-contents))
+
+;; Important packages
+(defvar my-pkgs '(starter-kit starter-kit-bindings haskell-mode)
+  "A list of packages to install at launch.")
+
+(dolist (p my-pkgs)
+  (when (not (package-installed-p p))
+    (package-install p)))
+
+;; Configure haskell-mode
+(custom-set-variables
+ '(haskell-mode-hook '(turn-on-haskell-indentation)))