Skip to content

Commit 828766b

Browse files
committed
fix Error: Alias for ‘inf-haskell-map’ should be declared before its referent
1 parent dd0ea64 commit 828766b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inf-haskell.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ The format should be the same as for `compilation-error-regexp-alist'.")
118118
;;; -> Make font lock work for strings, directories, hyperlinks
119119
;;; -> Make font lock work for key words???
120120

121+
(defvaralias 'inferior-haskell-mode-map 'inf-haskell-map)
122+
121123
(defvar inf-haskell-map
122124
(let ((map (make-sparse-keymap)))
123125
(define-key map "\C-c\C-d" 'comint-kill-subjob)
124126
map))
125127

126-
(defvaralias 'inferior-haskell-mode-map 'inf-haskell-map)
127-
128128
(define-derived-mode inferior-haskell-mode comint-mode "Inf-Haskell"
129129
"Major mode for interacting with an inferior Haskell process."
130130
:group 'inferior-haskell

0 commit comments

Comments
 (0)