20 lines
525 B
EmacsLisp
20 lines
525 B
EmacsLisp
|
(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)))
|