auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 8460859b69 34/60: Improve fontifi


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 8460859b69 34/60: Improve fontification of kernel macros
Date: Fri, 8 Apr 2022 11:52:51 -0400 (EDT)

branch: externals/auctex
commit 8460859b6944d86b88863b051db844aeebf85bab
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    Improve fontification of kernel macros
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add some
    missing kernel macros to function class.
---
 font-latex.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/font-latex.el b/font-latex.el
index 830fe261bc..2a90f3098b 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -352,7 +352,8 @@ variable `font-latex-fontify-sectioning'." ',num)
       ("providecommand" "*|{\\[[{")
       ("newcounter" "{[") ("renewenvironment" "*{[[{{")
       ("renewcommand" "*|{\\[[{") ("renewtheorem" "{[{[")
-      ("usepackage" "[{[") ("fbox" "{") ("mbox" "{") ("rule" "[{{")
+      ("usepackage" "[{[") ("RequirePackage" "[{[")
+      ("fbox" "{") ("mbox" "{") ("rule" "[{{")
       ("framebox" "|[([{") ("makebox" "|[([{") ("newsavebox" "|{\\")
       ("parbox" "[[[{{") ("savebox" "|{\\|[([{") ("sbox" "|{\\{")
       ("usebox" "|{\\")
@@ -363,6 +364,7 @@ variable `font-latex-fontify-sectioning'." ',num)
       ("addcontentsline" "{{{") ("addtocontents" "{{")
       ("labelformat" "{{")
       ("AddToHook" "{[{") ("RemoveFromHook" "{[") ("AddToHookNext" "{{")
+      ("ProvidesClass" "{[") ("ProvidesPackage" "{[") ("ProvidesFile" "{[")
       ;; XXX: Should macros without arguments rather be listed in a
       ;; separate category with 'noarg instead of 'command handling?
       ("enspace" "") ("enskip" "") ("quad" "") ("qquad" "") ("nonumber" "")




reply via email to

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