diff options
author | Vincent Ambo <vincent@spotify.com> | 2013-07-01T00·32+0200 |
---|---|---|
committer | Vincent Ambo <vincent@spotify.com> | 2013-07-01T00·32+0200 |
commit | ee76e971ceb0bb700ab7701fb3d63590f025ba06 (patch) | |
tree | deca78288786681cafb2694d72655a97176abb7b /init.el | |
parent | 384b4e1ec173354816ca8536bfc91407801c8970 (diff) |
Added initial emacs init
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 19 |
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))) |