src.nth.io/

summaryrefslogtreecommitdiff
path: root/haskell-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'haskell-init.el')
-rw-r--r--haskell-init.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/haskell-init.el b/haskell-init.el
index bf1ff5c..df808e1 100644
--- a/haskell-init.el
+++ b/haskell-init.el
@@ -1,8 +1,14 @@
;; ~/.emacs.d/haskell-init.el
;; Luke Hoersten <[email protected]>
-(add-to-list 'load-path "~/.emacs.d/thirdparty/haskell-mode") ; override haskell mode on system
-(load "haskell-site-file")
+(add-to-list 'load-path "~/.emacs.d/thirdparty/haskell-mode/")
+(require 'haskell-mode-autoloads)
+
+;; (add-to-list 'load-path "~/.emacs.d/thirdparty/haskell-mode") ; override haskell mode on system
+;;(add-to-list 'load-path "~/.cabal/share/ghc-mod-2.0.2") ; load ghc-mod from cabal
+;; (autoload 'ghc-init "~/.emacs.d/thirdparty/ghc-mod-2.0.2/ghc" nil t)
+
+;; (load "haskell-site-file")
;; ;; scion
;; (if (file-exists-p "~/.cabal/share/scion-0.3/emacs/scion.el")
@@ -20,12 +26,12 @@
(add-hook
'haskell-mode-hook
(lambda ()
+ ;; (ghc-init)
(turn-on-haskell-indent)
(capitalized-words-mode)
(turn-on-haskell-doc-mode)
(turn-on-haskell-decl-scan)
(imenu-add-menubar-index)
- (local-set-key (kbd "C-x C-s") 'haskell-mode-save-buffer)
(setq
haskell-font-lock-haddock t
haskell-stylish-on-save t