src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2013-07-10 13:58:29 -0500
committerLuke Hoersten <[email protected]>2013-07-10 13:58:29 -0500
commit6c46fdf743f7bdbe88c0c1a6b8999d30b39cc8cc (patch)
tree8f5d54cb191cd1e9e5cae3eb91794e9b74dd9080
parentf105abd73ba2b20616efd4be6554c79605efd2cb (diff)
Fixed mode hooks to all be functions.
-rw-r--r--init.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/init.el b/init.el
index d15387e..4bf2178 100644
--- a/init.el
+++ b/init.el
@@ -57,7 +57,7 @@
;;;; Mode-Specific ;;;;
;;; text-mode
-(add-hook 'fundamental-mode-hook '(flyspell-mode t)) ; spellcheck text
+(add-hook 'fundamental-mode-hook 'flyspell-mode) ; spellcheck text
(add-hook 'fundamental-mode-hook 'turn-on-auto-fill) ; autofill text
;;; ido-mode
@@ -139,7 +139,7 @@
(global-set-key (kbd "C-c s") 'eshell) ; start shell
(exec-path-from-shell-initialize)
(eshell)
-(add-hook 'eshell-mode-hook '(setenv "TERM" "emacs"))
+(add-hook 'eshell-mode-hook (lambda () (setenv "TERM" "emacs")))
;;; uniquify
(setq
@@ -173,7 +173,7 @@
(rainbow-mode)))
;;; css-mode
-(add-hook 'css-mode-hook '(rainbow-mode t))
+(add-hook 'css-mode-hook 'rainbow-mode)
;;; coding-modes map
(mapc
@@ -207,6 +207,7 @@
(imenu-add-menubar-index)
(local-set-key (kbd "C-c i") 'haskell-navigate-imports) ; go to imports. prefix to return
(setq
+ ghc-ghc-options '("-isrc")
haskell-font-lock-haddock t
haskell-stylish-on-save t
haskell-indent-offset 4