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

    * style/l3doc.el ("l3doc"): Improve fontification of \cmd.
---
 style/l3doc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/style/l3doc.el b/style/l3doc.el
index 5d6e48e9ac..9b30a5a45e 100644
--- a/style/l3doc.el
+++ b/style/l3doc.el
@@ -215,7 +215,7 @@ For syntax environment from l3doc class."
    ;; Fontification
    (when (and (featurep 'font-latex)
               (eq TeX-install-font-lock 'font-latex-setup))
-     (font-latex-add-keywords '(("cmd"  "[{")
+     (font-latex-add-keywords '(("cmd"  "[|{\\")
                                 ("cs"   "[{")
                                 ("Arg"  "{")
                                 ("marg" "{")

Reply via email to