Skip to content

Commit 6a70c18

Browse files
authored
Merge pull request #1602 from yuya373/master
Fix compilation error
2 parents 5f3434c + 61b99b2 commit 6a70c18

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ghc-core.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
:type 'string
4646
:group 'ghc-core)
4747

48+
(define-obsolete-variable-alias 'ghc-core-create-options 'ghc-core-program-args
49+
"haskell-mode 13.7")
50+
4851
(defcustom ghc-core-program-args
4952
'("-O2")
5053
"Additional options to be passed to GHC when generating core output.
@@ -66,9 +69,6 @@ See `M-x manual-entry RET ghc' for more details."
6669
:type '(repeat (string :tag "Argument"))
6770
:group 'ghc-core)
6871

69-
(define-obsolete-variable-alias 'ghc-core-create-options 'ghc-core-program-args
70-
"haskell-mode 13.7")
71-
7272
(defun ghc-core-clean-region (start end)
7373
"Remove commonly ignored annotations and namespace prefixes
7474
in the region between START and END."

inf-haskell.el

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

124+
(defvaralias 'inferior-haskell-mode-map 'inf-haskell-map)
125+
124126
(defvar inf-haskell-map
125127
(let ((map (make-sparse-keymap)))
126128
(define-key map "\C-c\C-d" 'comint-kill-subjob)
127129
map))
128130

129-
(defvaralias 'inferior-haskell-mode-map 'inf-haskell-map)
130-
131131
(define-derived-mode inferior-haskell-mode comint-mode "Inf-Haskell"
132132
"Major mode for interacting with an inferior Haskell process."
133133
:group 'inferior-haskell

0 commit comments

Comments
 (0)