Skip to content

Commit 6a533c5

Browse files
authored
Merge pull request #1872 from Hi-Angel/fix-warnings
Fix incorrect face usage and undeclared list elements type
2 parents 2163e0d + 48dfdfa commit 6a533c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

haskell-c2hs.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
(add-to-list 'auto-mode-alist '("\\.chs\\'" . haskell-c2hs-mode))
3535

3636
(defface haskell-c2hs-hook-pair-face
37-
'((t (:inherit 'font-lock-preprocessor-face)))
37+
'((t (:inherit font-lock-preprocessor-face)))
3838
"Face for highlighting {#...#} pairs."
3939
:group 'haskell)
4040

4141
(defface haskell-c2hs-hook-name-face
42-
'((t (:inherit 'font-lock-keyword-face)))
42+
'((t (:inherit font-lock-keyword-face)))
4343
"Face for highlighting c2hs hook names."
4444
:group 'haskell)
4545

haskell-commands.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
(defcustom haskell-mode-stylish-haskell-args nil
4747
"Arguments to pass to program specified by haskell-mode-stylish-haskell-path."
4848
:group 'haskell
49-
:type 'list)
49+
:type '(list string))
5050

5151
(defcustom haskell-interactive-set-+c
5252
t

0 commit comments

Comments
 (0)