diff options
| author | Luke Hoersten <[email protected]> | 2013-06-22 22:54:53 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2013-06-22 22:54:53 -0500 |
| commit | abcf074e2faa45b0c697071fd76e807ddb91001a (patch) | |
| tree | 55f7c8f016253a1634249984358a0c6c01f4938e /haskell-init.el | |
| parent | d3e523e045d186bddcc6e796cd5067cfaf588349 (diff) | |
Cleaned up unused modes.
Diffstat (limited to 'haskell-init.el')
| -rw-r--r-- | haskell-init.el | 12 |
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 |
