From 797bf075e1b53ecd92fa7e4e91f893b55e4a569d Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 6 Apr 2005 15:45:00 +0000 Subject: [PATCH] (tex-font-lock-keywords-2): Add \bfseries. --- lisp/ChangeLog | 2 ++ lisp/textmodes/tex-mode.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f7a478ce2b5..4d3259dc710 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2005-04-06 Stefan Monnier + * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add \bfseries. + * fast-lock.el: * lazy-lock.el: Move them to the obsolete subdir. diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index cc9ed23c6be..ab549d47b6e 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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.") -- 2.39.5