# HG changeset patch # User Richard M. Stallman # Date 1129383539 0 # Node ID 94b9e76a699526dd8a107224b67face1c276165f # Parent 59b6016b2dc3ef3789b93336809ae370541750ed (tex-font-lock-keywords-2): Fix bug in \bf fontification. diff -r 59b6016b2dc3 -r 94b9e76a6995 lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Sat Oct 15 12:04:34 2005 +0000 +++ b/lisp/textmodes/tex-mode.el Sat Oct 15 13:38:59 2005 +0000 @@ -576,7 +576,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\\(series\\)?\\)\\>" args) + (list (concat "\\\\\\(bf\\(?:series\\)?\\)\\>" args) 3 '(tex-font-lock-append-prop 'bold) 'append))))) "Gaudy expressions to highlight in TeX modes.")