aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Francoise2006-06-18 08:17:56 +0000
committerRomain Francoise2006-06-18 08:17:56 +0000
commite924d02104d531aa915ecbd13f489cf568167334 (patch)
tree47e53dc758e2980f36bb3fc967f3f87383821ed5
parentf362b76002bfd0f43af76a7772a808c042302f07 (diff)
downloademacs-e924d02104d531aa915ecbd13f489cf568167334.tar.gz
emacs-e924d02104d531aa915ecbd13f489cf568167334.zip
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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/textmodes/tex-mode.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 087959d4391..a6a72978852 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12006-06-18 Ralf Angeli <angeli@caeruleus.net>
2
3 * textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove
4 superfluous part of regexp for brace matching which is handled by
5 `scan-lists' call.
6
12006-06-16 Richard Stallman <rms@gnu.org> 72006-06-16 Richard Stallman <rms@gnu.org>
2 8
3 * obsolete/options.el (list-options): Put "obsolete" msg in buffer. 9 * 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."
597(defun tex-font-lock-match-suscript (limit) 597(defun tex-font-lock-match-suscript (limit)
598 "Match subscript and superscript patterns up to LIMIT." 598 "Match subscript and superscript patterns up to LIMIT."
599 (when (re-search-forward "[_^] *\\([^\n\\{}]\\|\ 599 (when (re-search-forward "[_^] *\\([^\n\\{}]\\|\
600\\\\\\([a-zA-Z@]+\\|[^ \t\n]\\)\\|{[^\\{]*}\\|\\({\\)\\)" limit t) 600\\\\\\([a-zA-Z@]+\\|[^ \t\n]\\)\\|\\({\\)\\)" limit t)
601 (when (match-end 3) 601 (when (match-end 3)
602 (let ((beg (match-beginning 3)) 602 (let ((beg (match-beginning 3))
603 (end (save-restriction 603 (end (save-restriction