branch: externals/auctex
commit 4106f923fb392992d70f72dc4e4e869ff30c786f
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>

    Add fontification for some core macros
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add macros
    \addvspace, \raggedright and \raggedleft 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