summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-10-15 13:38:59 +0000
committerRichard M. Stallman <rms@gnu.org>2005-10-15 13:38:59 +0000
commit21ea364992a60f547a1c9b0cd7c14cdba9c6b53a (patch)
treedb75287261a8739d1515f606d33d0fdf80ed07bd /lisp
parentbad3da7a5f21b36e9cb5c2c1f907e5e3d6f9ecbf (diff)
downloademacs-21ea364992a60f547a1c9b0cd7c14cdba9c6b53a.tar.gz
(tex-font-lock-keywords-2): Fix bug in \bf fontification.
Diffstat (limited to 'lisp')
-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."
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.")