[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Putting tex-math-face in tex group
From: |
Arash Esbati |
Subject: |
Putting tex-math-face in tex group |
Date: |
Tue, 18 Aug 2020 22:37:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 |
Hi all,
tex-math-face defined in tex-font.el doesn't specify a custom group.
Any objections if I apply this patch in order to pacify the compiler?
diff --git a/tex-font.el b/tex-font.el
index 27c9cf2c..cdedc427 100644
--- a/tex-font.el
+++ b/tex-font.el
@@ -148,7 +148,8 @@
(defface tex-math-face
'((t :inherit font-lock-string-face))
- "Face used to highlight TeX math expressions.")
+ "Face used to highlight TeX math expressions."
+ :group 'tex)
(defvar tex-math-face 'tex-math-face)
;; Use string syntax but math face for $...$.
Best, Arash
- Putting tex-math-face in tex group,
Arash Esbati <=