emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-mode 511aa3568c 3/8: haskell-c2hs.el: don't quote


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-mode 511aa3568c 3/8: haskell-c2hs.el: don't quote face inside a list
Date: Wed, 5 Mar 2025 10:02:01 -0500 (EST)

branch: elpa/haskell-mode
commit 511aa3568c0f2c39919753036067eb5e4efb0f30
Author: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Commit: Konstantin Kharlamov <Hi-Angel@yandex.ru>

    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
---
 haskell-c2hs.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/haskell-c2hs.el b/haskell-c2hs.el
index 8eb31ff8f6..092f475394 100644
--- a/haskell-c2hs.el
+++ b/haskell-c2hs.el
@@ -34,12 +34,12 @@
 (add-to-list 'auto-mode-alist '("\\.chs\\'" . haskell-c2hs-mode))
 
 (defface haskell-c2hs-hook-pair-face
-  '((t (:inherit 'font-lock-preprocessor-face)))
+  '((t (:inherit font-lock-preprocessor-face)))
   "Face for highlighting {#...#} pairs."
   :group 'haskell)
 
 (defface haskell-c2hs-hook-name-face
-  '((t (:inherit 'font-lock-keyword-face)))
+  '((t (:inherit font-lock-keyword-face)))
   "Face for highlighting c2hs hook names."
   :group 'haskell)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]