summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-09-17 01:16:14 -0400
committerKyle Meyer <kyle@kyleam.com>2014-09-17 01:16:14 -0400
commit996004ee913274832cb24d36dec626f7962fb12e (patch)
treec37027bc6626904d446f09b72b38646d7b1c8d84
parent3f02d67a65eeba6db3b16873d11184a367f2e483 (diff)
downloademacs.d-996004ee913274832cb24d36dec626f7962fb12e.tar.gz
Stop interactive-haskell from binding 'C-c c'
-rw-r--r--lisp/init-haskell.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-haskell.el b/lisp/init-haskell.el
index 6e170b7..219ed5f 100644
--- a/lisp/init-haskell.el
+++ b/lisp/init-haskell.el
@@ -3,4 +3,8 @@
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
+(after 'haskell-process
+ ;; Unbind `haskell-process-cabal' from user's key.
+ (define-key interactive-haskell-mode-map (kbd "C-c c") nil))
+
(provide 'init-haskell)