From 9961463ad7f5cec06447c3b193d50122b12c54d3 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 8 Jul 2013 16:59:35 +0200 Subject: emacs: Switched Haskell indent mode --- emacs.d/init-custom.el | 1 + emacs.d/init-modes.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs.d') diff --git a/emacs.d/init-custom.el b/emacs.d/init-custom.el index b77eae8dcf37..c582239054b1 100644 --- a/emacs.d/init-custom.el +++ b/emacs.d/init-custom.el @@ -9,6 +9,7 @@ '(erc-modules (quote (autojoin button completion dcc irccontrols list log match menu move-to-prompt netsplit networks noncommands notifications readonly ring scrolltobottom stamp track))) + '(haskell-mode-hook (quote (font-lock-mode))) '(ns-alternate-modifier (quote none)) '(ns-command-modifier (quote meta))) (custom-set-faces diff --git a/emacs.d/init-modes.el b/emacs.d/init-modes.el index 6e523c387734..8a87aeb711da 100644 --- a/emacs.d/init-modes.el +++ b/emacs.d/init-modes.el @@ -14,7 +14,7 @@ ;; Configure haskell-mode ;; Enable semi-automatic indentation and font-locking -(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) +(add-hook 'haskell-mode-hook 'turn-on-haskell-indent) (add-hook 'haskell-mode-hook 'font-lock-mode) ;; Add keybindings to move nested blocks with C-, rsp. C-. -- cgit 1.4.1