src.nth.io/

summaryrefslogtreecommitdiff
path: root/haskell-init.el
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2011-10-03 09:55:09 -0500
committerLuke Hoersten <[email protected]>2011-10-03 09:55:09 -0500
commit66bfb4e2e2f5a204a9f8e7404fabcb57e366fcd4 (patch)
tree9da9046d3c8556914952ed49b1863c6769b5143d /haskell-init.el
parent374c5b92a1ebae65cd1545a7126d6954b93d51bc (diff)
Split out some init files.
Diffstat (limited to 'haskell-init.el')
-rw-r--r--haskell-init.el27
1 files changed, 15 insertions, 12 deletions
diff --git a/haskell-init.el b/haskell-init.el
index bd24e71..c73cc95 100644
--- a/haskell-init.el
+++ b/haskell-init.el
@@ -2,17 +2,17 @@
;; Luke Hoersten <[email protected]>
;; scion
-(if (file-exists-p "~/.cabal/share/scion-0.1.0.10/emacs")
- (progn
- (add-to-list 'load-path "~/.cabal/share/scion-0.1.0.10/emacs")
- (require 'scion)
- (setq scion-program "~/.cabal/bin/scion-server")
- (add-hook
- 'haskell-mode-hook
- (lambda ()
- (scion-mode 1)
- (scion-flycheck-on-save 1)
- (setq scion-completing-read-function 'ido-completing-read)))))
+;; (if (file-exists-p "~/.cabal/share/scion-0.1.0.10/emacs")
+;; (progn
+;; (add-to-list 'load-path "~/.cabal/share/scion-0.1.0.10/emacs")
+;; (require 'scion)
+;; (setq scion-program "~/.cabal/bin/scion-server")
+;; (add-hook
+;; 'haskell-mode-hook
+;; (lambda ()
+;; (scion-mode 1)
+;; (scion-flycheck-on-save 1)
+;; (setq scion-completing-read-function 'ido-completing-read)))))
(add-hook
'haskell-mode-hook
@@ -22,7 +22,10 @@
(capitalized-words-mode t)
(haskell-doc-mode t)
(setq
+ haskell-program-name "/opt/ghc7/bin/ghci"
haskell-indent-offset 4
whitespace-line-column 78))
t) ; append instead of prepend else haskell-mode overwrites these settings
-(provide 'haskell-init) \ No newline at end of file
+
+(message "Loading haskell-init...done")
+(provide 'haskell-init)