mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Don't fontify \item like \it.
This commit is contained in:
parent
d75fe17ace
commit
5b341c7e2c
1 changed files with 2 additions and 2 deletions
|
|
@ -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.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue