Skip to content

Commit 61b99b2

Browse files
committed
fix Error: Alias for ‘ghc-core-program-args’ should be declared before its referent
1 parent 828766b commit 61b99b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
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."

0 commit comments

Comments
 (0)