auctex-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 324250f243 04/23: Support macros for key-val pac


From: Tassilo Horn
Subject: [elpa] externals/auctex 324250f243 04/23: Support macros for key-val package or class options
Date: Thu, 20 Oct 2022 14:53:17 -0400 (EDT)

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

    Support macros for key-val package or class options
    
    * style/ltx-base.el ("ltx-base"): Add kernel commands for creating
    and using key-val package or class options.
---
 style/ltx-base.el | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/style/ltx-base.el b/style/ltx-base.el
index d10a1379c7..693308a378 100644
--- a/style/ltx-base.el
+++ b/style/ltx-base.el
@@ -123,7 +123,13 @@
     '("addpenalty" "Penalty")
     '("@ifundefined" TeX-arg-macro 2)
     '("@ifnextchar" (TeX-arg-literal " ") (TeX-arg-free "Character") 2)
-    '("expandafter" 0))
+    '("expandafter" 0)
+
+    ;; These macros are currently (June 2022) described in ltkeys.dtx:
+    '("DeclareKeys" ["Family"] t)
+    '("DeclareUnknownKeyHandler" ["Family"] t)
+    '("ProcessKeyOptions" ["Family"])
+    '("SetKeys" ["Family"] t))
 
    ;; Fontification
    (when (and (featurep 'font-latex)
@@ -149,7 +155,12 @@
                                 ("ProcessOptions" "*")
                                 ("ExecuteOptions" "{")
                                 ("DeclareRobustCommand" "*|{\\[[{")
-                                ("CheckCommand"         "*|{\\[[{"))
+                                ("CheckCommand"         "*|{\\[[{")
+
+                                ("DeclareKeys"              "[{")
+                                ("DeclareUnknownKeyHandler" "[{")
+                                ("ProcessKeyOptions"        "[")
+                                ("SetKeys"                  "[{"))
                               'function)))
  TeX-dialect)
 




reply via email to

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