branch: externals/auctex
commit 77974e6b92ef4dd5af01505e6d202d0f3b1a5a98
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    * style/minted.el ("minted"): Add key=val query for \mint and \mintinline.
---
 style/minted.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/style/minted.el b/style/minted.el
index c5582e3..4d2877a 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -290,8 +290,12 @@ are loaded."
 
    ;; New symbols
    (TeX-add-symbols
-    '("mint" LaTeX-arg-minted-language TeX-arg-verb)
-    '("mintinline" LaTeX-arg-minted-language TeX-arg-verb)
+    '("mint"
+      [ TeX-arg-key-val LaTeX-minted-key-val-options-local ]
+      LaTeX-arg-minted-language TeX-arg-verb)
+    '("mintinline"
+      [ TeX-arg-key-val LaTeX-minted-key-val-options-local ]
+      LaTeX-arg-minted-language TeX-arg-verb)
     '("newminted" ["Environment Name"] LaTeX-arg-minted-language
       (TeX-arg-key-val LaTeX-minted-key-val-options-local))
     '("newmint" ["Macro Name"] LaTeX-arg-minted-language

Reply via email to