diff options
| author | Simon Marshall | 1997-09-15 09:03:45 +0000 |
|---|---|---|
| committer | Simon Marshall | 1997-09-15 09:03:45 +0000 |
| commit | 5b341c7e2c994bebb543d6668262d2c1435eb57b (patch) | |
| tree | c54c9d0ade0d34a3a99a80148a9fbbed07afe5fb | |
| parent | d75fe17acef39783e134409d9ffe0560b3662153 (diff) | |
| download | emacs-5b341c7e2c994bebb543d6668262d2c1435eb57b.tar.gz emacs-5b341c7e2c994bebb543d6668262d2c1435eb57b.zip | |
Don't fontify \item like \it.
| -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." | |||
| 2182 | '(quote bold-italic) 'keep) | 2182 | '(quote bold-italic) 'keep) |
| 2183 | ;; | 2183 | ;; |
| 2184 | ;; Old-style bf/em/it/sl. Stop at `\\' and un-escaped `&', for tables. | 2184 | ;; Old-style bf/em/it/sl. Stop at `\\' and un-escaped `&', for tables. |
| 2185 | (list (concat "\\\\\\(\\(bf\\)\\|em\\|it\\(em\\)?\\|sl\\)\\>" | 2185 | (list (concat "\\\\\\(\\(bf\\)\\|em\\|it\\|sl\\)\\>" |
| 2186 | "\\(\\([^}&\\]\\|\\\\[^\\]\\)+\\)") | 2186 | "\\(\\([^}&\\]\\|\\\\[^\\]\\)+\\)") |
| 2187 | 4 '(if (match-beginning 2) 'bold 'italic) 'keep) | 2187 | 3 '(if (match-beginning 2) 'bold 'italic) 'keep) |
| 2188 | )))) | 2188 | )))) |
| 2189 | "Gaudy expressions to highlight in TeX modes.") | 2189 | "Gaudy expressions to highlight in TeX modes.") |
| 2190 | 2190 | ||