changeset 61353:c277eb06ba34

(tex-font-lock-keywords-2): Add \bfseries.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 06 Apr 2005 15:45:00 +0000
parents b97ab529f16e
children 1f76ef621e78
files lisp/ChangeLog lisp/textmodes/tex-mode.el
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Apr 06 14:08:06 2005 +0000
+++ b/lisp/ChangeLog	Wed Apr 06 15:45:00 2005 +0000
@@ -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.
 
--- a/lisp/textmodes/tex-mode.el	Wed Apr 06 14:08:06 2005 +0000
+++ b/lisp/textmodes/tex-mode.el	Wed Apr 06 15:45:00 2005 +0000
@@ -573,7 +573,7 @@
 	      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.")