aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-10-15 13:38:59 +0000
committerRichard M. Stallman2005-10-15 13:38:59 +0000
commit21ea364992a60f547a1c9b0cd7c14cdba9c6b53a (patch)
treedb75287261a8739d1515f606d33d0fdf80ed07bd
parentbad3da7a5f21b36e9cb5c2c1f907e5e3d6f9ecbf (diff)
downloademacs-21ea364992a60f547a1c9b0cd7c14cdba9c6b53a.tar.gz
emacs-21ea364992a60f547a1c9b0cd7c14cdba9c6b53a.zip
(tex-font-lock-keywords-2): Fix bug in \bf fontification.
-rw-r--r--lisp/textmodes/tex-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 3623c788882..adb5f9c902b 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -576,7 +576,7 @@ An alternative value is \" . \", if you use a font with a narrow period."
576 2 '(tex-font-lock-append-prop 'italic) 'append) 576 2 '(tex-font-lock-append-prop 'italic) 'append)
577 ;; This is separate from the previous one because of cases like 577 ;; This is separate from the previous one because of cases like
578 ;; {\em foo {\bf bar} bla} where both match. 578 ;; {\em foo {\bf bar} bla} where both match.
579 (list (concat "\\\\\\(bf\\(series\\)?\\)\\>" args) 579 (list (concat "\\\\\\(bf\\(?:series\\)?\\)\\>" args)
580 3 '(tex-font-lock-append-prop 'bold) 'append))))) 580 3 '(tex-font-lock-append-prop 'bold) 'append)))))
581 "Gaudy expressions to highlight in TeX modes.") 581 "Gaudy expressions to highlight in TeX modes.")
582 582