Skip to content

What is the recommended way to unbind ; in haskell-indentation-mode-map #1320

Closed
@mrkkrp

Description

@mrkkrp

I have my own minor mode that binds ;. haskell-indentation is very agressive in binding that key as well. I tried various methods, but only this allows to tame ;:

(defun mk-purge-that-nice-thing ()
  (define-key haskell-indentation-mode-map (kbd ";") nil))

(add-hook 'haskell-indentation-mode-hook #'mk-purge-that-nice-thing)

Variations like this do not work:

(eval-after-load 'haskell-mode
  '(setq-default haskell-indentation-mode-map (make-sparse-keymap)))

Is there some option to forbid haskell-indentation-mode bind anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions