From: Stefan Monnier Date: Wed, 6 Apr 2005 15:45:00 +0000 (+0000) Subject: (tex-font-lock-keywords-2): Add \bfseries. X-Git-Tag: ttn-vms-21-2-B4~1168 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=797bf075e1b53ecd92fa7e4e91f893b55e4a569d;p=emacs.git (tex-font-lock-keywords-2): Add \bfseries. --- 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.")