Skip to content

Commit

Permalink
(haskell-indent-map): Disable C-c C-g binding since
Browse files Browse the repository at this point in the history
Ignore-this: 1f9fb47f28981fd764d972fdadf5f5de
(haskell-indent-map): Disable C-c C-g binding since
C-g is a special key not to be used like that.

darcs-hash:20080530170522-c2f2e-9cf8f5ea4a0419a0e7ab3ed4284e910de547ab0f.gz
  • Loading branch information
monnier committed May 30, 2008
1 parent 37b04d0 commit 67f668a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>

* haskell-indent.el (haskell-indent-map): Disable C-c C-g binding since
C-g is a special key not to be used like that.

2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>

* haskell-cabal.el (haskell-cabal-find-file): Ignore directories.
Expand Down
3 changes: 2 additions & 1 deletion haskell-indent.el
Expand Up @@ -1484,7 +1484,8 @@ in the current buffer.")
(define-key map [?\C-c ?\C-=] 'haskell-indent-insert-equal)
(define-key map [?\C-c ?\C-|] 'haskell-indent-insert-guard)
;; Alternate binding, in case C-c C-| is too inconvenient to type.
(define-key map [?\C-c ?\C-g] 'haskell-indent-insert-guard)
;; Duh, C-g is a special key, let's not use it here.
;; (define-key map [?\C-c ?\C-g] 'haskell-indent-insert-guard)
(define-key map [?\C-c ?\C-o] 'haskell-indent-insert-otherwise)
(define-key map [?\C-c ?\C-w] 'haskell-indent-insert-where)
(define-key map [?\C-c ?\C-.] 'haskell-indent-align-guards-and-rhs)
Expand Down

0 comments on commit 67f668a

Please sign in to comment.