         haskell-indentation-left-offset 2
         haskell-indentation-ifte-offset 2
         haskell-indentation-where-pre-offset 2
-        haskell-indentation-where-post-offset 2)
-  (turn-on-haskell-indentation))
+        haskell-indentation-where-post-offset 2))
 
 (add-hook 'haskell-mode-hook 'pjones:haskell-mode-hook)
 


(defun pjones:haskell-mode-hook ()
  (pjones:prog-mode-hook)
  (local-set-key (kbd "RET")     'newline-and-indent)
  (local-set-key (kbd "C-c C-a") 'pjones:haskell-new-import)
  (local-set-key (kbd "C-c C-s") 'pjones:haskell-sort-imports)
  (local-set-key (kbd "C-c C-v") 'pjones:haskell-lint-all)
  (make-local-variable 'tab-always-indent)
  (setq tab-always-indent t
        haskell-indentation-layout-offset 2

             (move-beginning-of-line nil)
             (while (looking-at "^import") (forward-line 1))
             (forward-line -1)
             (move-end-of-line nil)
             (point))))
    (sort-regexp-fields
     nil "^import \\(qualified \\)?\\(.+\\)$" "\\2" b e)))
