diff -r 4d355b59e2a3 -r 27f2627e9f2f haskell-ts-mode.el --- a/haskell-ts-mode.el Thu Dec 12 22:06:43 2024 +1000 +++ b/haskell-ts-mode.el Thu Dec 12 23:05:57 2024 +1000 @@ -337,11 +337,10 @@ (indent-region (treesit-node-start node) (treesit-node-end node)))) (defvar haskell-ts-mode-map - (let ((km (make-sparse-keymap))) - (define-key km (kbd "C-c C-c") 'haskell-ts-compile-region-and-go) - (define-key km (kbd "C-c C-r") 'haskell-ts-run-haskell) - (define-key km (kbd "C-M-q") 'haskell-ts-indent-defun) ; For those who don't have emacs 30 - km) + (define-keymap + "C-c C-c" 'haskell-ts-compile-region-and-go + "C-c C-r" 'haskell-ts-run-haskell + "C-M-q" 'haskell-ts-indent-defun) "Map for haskell-ts-mode.") ;;;###autoload