changeset 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 cb6e677b13d4
children a453a1e7a2ba
files lisp/ChangeLog lisp/textmodes/tex-mode.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <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.
+
 2006-06-16  Richard Stallman  <rms@gnu.org>
 
 	* obsolete/options.el (list-options): Put "obsolete" msg in buffer.
--- 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