Mercurial > emacs
changeset 66097:94b9e76a6995
(tex-font-lock-keywords-2): Fix bug in \bf fontification.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 15 Oct 2005 13:38:59 +0000 |
parents | 59b6016b2dc3 |
children | ac281b254006 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.")