# HG changeset patch # User Romain Francoise # Date 1150618676 0 # Node ID 45c37ca6679d5cf3341fcdb23b11bb4dc5628535 # Parent cb6e677b13d40f20ad8f5fbc84e70742e73aee0e 2006-06-18 Ralf Angeli * textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove superfluous part of regexp for brace matching which is handled by `scan-lists' call. diff -r cb6e677b13d4 -r 45c37ca6679d lisp/ChangeLog --- a/lisp/ChangeLog Sat Jun 17 20:54:51 2006 +0000 +++ b/lisp/ChangeLog Sun Jun 18 08:17:56 2006 +0000 @@ -1,3 +1,9 @@ +2006-06-18 Ralf Angeli + + * textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove + superfluous part of regexp for brace matching which is handled by + `scan-lists' call. + 2006-06-16 Richard Stallman * obsolete/options.el (list-options): Put "obsolete" msg in buffer. diff -r cb6e677b13d4 -r 45c37ca6679d lisp/textmodes/tex-mode.el --- 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