(tex-font-lock-keywords-2): Add \bfseries.

This commit is contained in:
Stefan Monnier 2005-04-06 15:45:00 +00:00
parent 7c0d88969c
commit 797bf075e1
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2005-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/tex-mode.el (tex-font-lock-keywords-2): Add \bfseries.
* fast-lock.el:
* lazy-lock.el: Move them to the obsolete subdir.

View file

@ -573,7 +573,7 @@ An alternative value is \" . \", if you use a font with a narrow period."
2 '(tex-font-lock-append-prop 'italic) 'append)
;; This is separate from the previous one because of cases like
;; {\em foo {\bf bar} bla} where both match.
(list (concat "\\\\\\(bf\\)\\>" args)
(list (concat "\\\\\\(bf\\(series\\)?\\)\\>" args)
2 '(tex-font-lock-append-prop 'bold) 'append)))))
"Gaudy expressions to highlight in TeX modes.")