]> git.eshelyaron.com Git - emacs.git/commitdiff
2006-06-18 Ralf Angeli <angeli@caeruleus.net>
authorRomain Francoise <romain@orebokech.com>
Sun, 18 Jun 2006 08:17:56 +0000 (08:17 +0000)
committerRomain Francoise <romain@orebokech.com>
Sun, 18 Jun 2006 08:17:56 +0000 (08:17 +0000)
* textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove
superfluous part of regexp for brace matching which is handled by
`scan-lists' call.

lisp/ChangeLog
lisp/textmodes/tex-mode.el

index 087959d43919a8951da75d9824ba589843504e8a..a6a72978852142e7554333391fe28c1f4d6abb86 100644 (file)
@@ -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.
index 8ca7c3026e87f4e953d671151dc3d3771f56c5ec..9e78f4b6015d5d0ec482ce8a57c3d2ae38826a46 100644 (file)
@@ -597,7 +597,7 @@ An alternative value is \" . \", if you use a font with a narrow period."
 (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