From e924d02104d531aa915ecbd13f489cf568167334 Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Sun, 18 Jun 2006 08:17:56 +0000 Subject: [PATCH] 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. --- lisp/ChangeLog | 6 ++++++ lisp/textmodes/tex-mode.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 087959d4391..a6a72978852 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 8ca7c3026e8..9e78f4b6015 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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 -- 2.39.5