Emacs 24.1 and haskell-mode keys

I read on the Haskell Emacs page that there are several key bindings in haskell mode. I downloaded Emacs 24.1 and downloaded the Haskell file, but the bindings do not work. For example, Cc C-= should insert signatures = and line up type, but Emacs gives me Cc C-= is undefined .

How to enable these key bindings?

+4
source share
1 answer

Add this to your Emacs configuration:

 (require 'haskell-indent) 

Run Mx haskell-indent-mode in any buffer that you are editing. Then Cc C-= works for me.

+5
source

All Articles