]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't fontify \item like \it.
authorSimon Marshall <simon@gnu.org>
Mon, 15 Sep 1997 09:03:45 +0000 (09:03 +0000)
committerSimon Marshall <simon@gnu.org>
Mon, 15 Sep 1997 09:03:45 +0000 (09:03 +0000)
lisp/font-lock.el

index 4f183cd42309289afa28250dbeb5f1e7016d1b89..adac03d3c1efdc909b6f23a6e9e9188d9e21ed0e 100644 (file)
@@ -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.")