diff options
| author | Romain Francoise | 2006-06-18 08:17:56 +0000 |
|---|---|---|
| committer | Romain Francoise | 2006-06-18 08:17:56 +0000 |
| commit | e924d02104d531aa915ecbd13f489cf568167334 (patch) | |
| tree | 47e53dc758e2980f36bb3fc967f3f87383821ed5 | |
| parent | f362b76002bfd0f43af76a7772a808c042302f07 (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 2 |
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 @@ | |||
| 1 | 2006-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 | |||
| 1 | 2006-06-16 Richard Stallman <rms@gnu.org> | 7 | 2006-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 |