branch: main
commit 1c621e4f92c0481638bd8a6cc8e56ab2b5baead1
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Support key=val options in case-changing macros
* latex.el (LaTeX-common-initialization): Add key=val options to
the case-changing macros.
---
latex.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/latex.el b/latex.el
index 953d9e74..ba1f80de 100644
--- a/latex.el
+++ b/latex.el
@@ -9055,9 +9055,11 @@ function would return non-nil and `(match-string 1)'
would return
'("skipeval" t)
;; Case changing
- '("MakeUppercase" t)
- '("MakeLowercase" t)
- '("MakeTitlecase" t)
+ '("MakeUppercase" [TeX-arg-key-val (("lang") ("locale"))] t)
+ '("MakeLowercase" [TeX-arg-key-val (("lang") ("locale"))] t)
+ '("MakeTitlecase" [TeX-arg-key-val (("lang") ("locale")
+ ("words" ("first" "all")))]
+ t)
;; Support for problem solving
'("listfiles"