summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2005-04-06 15:45:00 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2005-04-06 15:45:00 +0000
commit797bf075e1b53ecd92fa7e4e91f893b55e4a569d (patch)
treeb34554340b8a8877834bfe9b61c192cc12e73164
parent7c0d88969cc615068d793784b452a1dfb0691952 (diff)
downloademacs-797bf075e1b53ecd92fa7e4e91f893b55e4a569d.tar.gz
(tex-font-lock-keywords-2): Add \bfseries.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/textmodes/tex-mode.el2
2 files changed, 3 insertions, 1 deletions
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 <monnier@iro.umontreal.ca>
+ * 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.")