Commit e924d021 authored by Romain Francoise's avatar Romain Francoise
Browse files

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.
parent f362b760
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment