Skip to content

Commit 511aa35

Browse files
committed
haskell-c2hs.el: don't quote face inside a list
A face is represented by a symbol, however representing a symbol inside lists requires no quoting. So remove the quote. Fixes warning: haskell-c2hs.el:37:19: Error: in defface for ‘haskell-c2hs-hook-pair-face’: Value for face attribute ‘:inherit’ should not be quoted
1 parent 2163e0d commit 511aa35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
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

0 commit comments

Comments
 (0)