Mercurial > emacs
diff lisp/textmodes/tex-mode.el @ 71380:45c37ca6679d
2006-06-18 Ralf Angeli <angeli@caeruleus.net>
* textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove
superfluous part of regexp for brace matching which is handled by
`scan-lists' call.
author | Romain Francoise <romain@orebokech.com> |
---|---|
date | Sun, 18 Jun 2006 08:17:56 +0000 |
parents | 5fd821256f0d |
children | f7702c5f335d 4094c5298ae1 |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Sat Jun 17 20:54:51 2006 +0000 +++ b/lisp/textmodes/tex-mode.el Sun Jun 18 08:17:56 2006 +0000 @@ -597,7 +597,7 @@ (defun tex-font-lock-match-suscript (limit) "Match subscript and superscript patterns up to LIMIT." (when (re-search-forward "[_^] *\\([^\n\\{}]\\|\ -\\\\\\([a-zA-Z@]+\\|[^ \t\n]\\)\\|{[^\\{]*}\\|\\({\\)\\)" limit t) +\\\\\\([a-zA-Z@]+\\|[^ \t\n]\\)\\|\\({\\)\\)" limit t) (when (match-end 3) (let ((beg (match-beginning 3)) (end (save-restriction