Permalink
Browse files

Switched over to using package.el for third party libraries. May stil…

…l need to tweak haskell config.
  • Loading branch information...
1 parent 306b174 commit 9dce55f74b405d2f58429255afaa96d98fccf357 @catphive committed Oct 19, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 init.el
View
@@ -113,10 +113,13 @@
;; Third party modes.
;; Failure to find third party code should not break emacs config.
-(add-to-list 'load-path "~/Dropbox/emacs")
+
+;; elpa
+(require 'package)
+(setq-default package-user-dir (expand-file-name "~/Dropbox/emacs_packages"))
+(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
;; haskell mode.
-(load "~/Dropbox/emacs/haskell-mode-2.8.0/haskell-site-file" t)
(when (fboundp 'haskell-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation))

0 comments on commit 9dce55f

Please sign in to comment.