From 7e5a78482bbee255af21e85237b1724c3cba1dab Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 2 May 2015 13:03:09 -0500 Subject: [PATCH] Made language extension variable and doc more clear. --- haskell-customize.el | 4 ++-- haskell.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/haskell-customize.el b/haskell-customize.el index b48345b3a..be2bd1719 100644 --- a/haskell-customize.el +++ b/haskell-customize.el @@ -328,9 +328,9 @@ when Data.Map is the candidate. :group 'shm :type '(repeat 'string)) -(defcustom haskell-ghc-supported-languages +(defcustom haskell-ghc-supported-extensions (split-string (shell-command-to-string "ghc --supported-extensions")) - "List of language pragmas supported by the installed version of GHC." + "List of language extensions supported by the installed version of GHC." :group 'haskell :type '(repeat string)) diff --git a/haskell.el b/haskell.el index 96449e5e8..4cdcbe8a4 100644 --- a/haskell.el +++ b/haskell.el @@ -92,7 +92,7 @@ (search-forward-regexp "\\_" p t)))) (setq symbol-bounds (bounds-of-thing-at-point 'symbol))) (list (car symbol-bounds) (cdr symbol-bounds) - haskell-ghc-supported-languages)) + haskell-ghc-supported-extensions)) ((setq symbol-bounds (bounds-of-thing-at-point 'symbol)) (cl-destructuring-bind (start . end) symbol-bounds (list start end