diff options
author | Simon Marshall <simon@gnu.org> | 1997-09-15 09:03:45 +0000 |
---|---|---|
committer | Simon Marshall <simon@gnu.org> | 1997-09-15 09:03:45 +0000 |
commit | 5b341c7e2c994bebb543d6668262d2c1435eb57b (patch) | |
tree | c54c9d0ade0d34a3a99a80148a9fbbed07afe5fb /lisp/font-lock.el | |
parent | d75fe17acef39783e134409d9ffe0560b3662153 (diff) | |
download | emacs-5b341c7e2c994bebb543d6668262d2c1435eb57b.tar.gz |
Don't fontify \item like \it.
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r-- | lisp/font-lock.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 4f183cd4230..adac03d3c1e 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -2182,9 +2182,9 @@ This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item." '(quote bold-italic) 'keep) ;; ;; Old-style bf/em/it/sl. Stop at `\\' and un-escaped `&', for tables. - (list (concat "\\\\\\(\\(bf\\)\\|em\\|it\\(em\\)?\\|sl\\)\\>" + (list (concat "\\\\\\(\\(bf\\)\\|em\\|it\\|sl\\)\\>" "\\(\\([^}&\\]\\|\\\\[^\\]\\)+\\)") - 4 '(if (match-beginning 2) 'bold 'italic) 'keep) + 3 '(if (match-beginning 2) 'bold 'italic) 'keep) )))) "Gaudy expressions to highlight in TeX modes.") |