changeset 19935:e7e61f0cc9f4

Don't fontify \item like \it.
author Simon Marshall <simon@gnu.org>
date Mon, 15 Sep 1997 09:03:45 +0000
parents 486a8046bbf5
children 78aa8484e6e9
files lisp/font-lock.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.")