From abcf074e2faa45b0c697071fd76e807ddb91001a Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 22 Jun 2013 22:54:53 -0500 Subject: Cleaned up unused modes. --- haskell-init.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'haskell-init.el') 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 -(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 -- cgit v1.2.3