# HG changeset patch # User Simon Marshall # Date 874314225 0 # Node ID e7e61f0cc9f4092f17665af4d6a283ce299c5f3c # Parent 486a8046bbf50cd8be1c14663bcef3e9cfb991ac Don't fontify \item like \it. diff -r 486a8046bbf5 -r e7e61f0cc9f4 lisp/font-lock.el --- a/lisp/font-lock.el Mon Sep 15 08:12:51 1997 +0000 +++ b/lisp/font-lock.el Mon Sep 15 09:03:45 1997 +0000 @@ -2182,9 +2182,9 @@ '(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.")