auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 4106f92 24/43: Add fontification


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 4106f92 24/43: Add fontification for some core macros
Date: Tue, 20 Mar 2018 11:34:09 -0400 (EDT)

branch: externals/auctex
commit 4106f923fb392992d70f72dc4e4e869ff30c786f
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Add fontification for some core macros
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add macros
    ddvspace, aggedright and aggedleft to function class.
---
 font-latex.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/font-latex.el b/font-latex.el
index d36e03e..5202247 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -306,11 +306,12 @@ variable `font-latex-fontify-sectioning'." ',num)
       ("newcounter" "{[") ("renewenvironment" "*{[[{{")
       ("renewcommand" "*|{\[[{") ("renewtheorem" "{[{[")
       ("usepackage" "[{[") ("fbox" "{") ("mbox" "{") ("rule" "[{{")
-      ("vspace" "*{") ("hspace" "*{") ("thinspace" "") ("negthinspace" "")
+      ("addvspace" "{") ("vspace" "*{") ("hspace" "*{") ("thinspace" "") 
("negthinspace" "")
       ;; XXX: Should macros without arguments rather be listed in a
       ;; separate category with 'noarg instead of 'command handling?
       ("enspace" "") ("enskip" "") ("quad" "") ("qquad" "") ("nonumber" "")
-      ("centering" "") ("TeX" "") ("LaTeX" "") ("LaTeXe" ""))
+      ("centering" "") ("raggedright" "") ("raggedleft" "")
+      ("TeX" "") ("LaTeX" "") ("LaTeXe" ""))
      font-lock-function-name-face 2 command)
     ("sectioning-0"
      (("part" "*[{"))



reply via email to

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