Skip to content

Commit 0a70f44

Browse files
committed
Merge pull request #622 from LukeHoersten/lang-ext
Made language extension variable and doc more clear.
2 parents dc80f60 + 7e5a784 commit 0a70f44

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

haskell-customize.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ when Data.Map is the candidate.
328328
:group 'shm
329329
:type '(repeat 'string))
330330

331-
(defcustom haskell-ghc-supported-languages
331+
(defcustom haskell-ghc-supported-extensions
332332
(split-string (shell-command-to-string "ghc --supported-extensions"))
333-
"List of language pragmas supported by the installed version of GHC."
333+
"List of language extensions supported by the installed version of GHC."
334334
:group 'haskell
335335
:type '(repeat string))
336336

haskell.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
(search-forward-regexp "\\_<LANGUAGE\\_>" p t))))
9393
(setq symbol-bounds (bounds-of-thing-at-point 'symbol)))
9494
(list (car symbol-bounds) (cdr symbol-bounds)
95-
haskell-ghc-supported-languages))
95+
haskell-ghc-supported-extensions))
9696
((setq symbol-bounds (bounds-of-thing-at-point 'symbol))
9797
(cl-destructuring-bind (start . end) symbol-bounds
9898
(list start end

0 commit comments

Comments
 (0)