diff options
author | Vincent Ambo <vincent@spotify.com> | 2013-07-08T14·59+0200 |
---|---|---|
committer | Vincent Ambo <vincent@spotify.com> | 2013-07-08T14·59+0200 |
commit | 9961463ad7f5cec06447c3b193d50122b12c54d3 (patch) | |
tree | b28ce74ae98b8696cd7f20980d6d6bdbccce8dac /emacs.d | |
parent | 0ebbf64fd1e42e69de29d5d49ffcedbf110c83dd (diff) |
emacs: Switched Haskell indent mode
Diffstat (limited to 'emacs.d')
-rw-r--r-- | emacs.d/init-custom.el | 1 | ||||
-rw-r--r-- | emacs.d/init-modes.el | 2 |
2 files changed, 2 insertions, 1 deletions
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-. |