Hi all,
in `font-latex-built-in-keyword-classes', the "slide-title" keyword
class doesn't obey the value of `font-latex-fontify-sectioning'. This
means that the macros using the class will always fontify their
arguments with `font-latex-slide-title-face'. This is annoying for
users who set `font-latex-fontify-sectioning' to 'color. I think we can
fix this easily with this change:
--8<---------------cut here---------------start------------->8---
diff --git a/font-latex.el b/font-latex.el
index ffba35cf..826ea0c5 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -431,7 +431,11 @@ variable `font-latex-fontify-sectioning'." ',num)
'font-lock-type-face
'font-latex-sectioning-5-face)
2 command)
- ("slide-title" () font-latex-slide-title-face 2 command)
+ ("slide-title" ()
+ (if (eq font-latex-fontify-sectioning 'color)
+ 'font-lock-type-face
+ 'font-latex-slide-title-face)
+ 2 command)
("textual"
(("item" "[") ("bibitem" "[{") ("title" "{") ("author" "{") ("date" "{")
("thanks" "{") ("address" "{") ("caption" "[{")
--8<---------------cut here---------------end--------------->8---
Any comments?
Best, Arash
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex