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.
This commit is contained in:
parent
f362b76002
commit
e924d02104
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue