> Same here. Strange. I think we can't solve this now but I'll keep an eye
> on it. Thanks for your help, Plamen.
May be there ist something wrong with the end position. Try this:
(defun LaTeX-math-query-replace (from-string to-string)
"math query replace"
(interactive "sFrom: \nsTo: ")
(while
(search-forward from-string)
(if (texmathp)
(query-replace from-string to-string nil
(point) (match-end 0)))))
or even instead of (match-end 0) try (1+ (match-end 0))
best regards
--
Plamen Tanovski
Prager Str. 125
04317 Leipzig
Tel. (03 41) 3 08 57 60
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex