> Please, can you explain in more detail how to use texmathp during a
> query-replace session?

Here is a simple wrapper to query-replace. Please test use it
carefully, I am an absolute beginner in elisp.

(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) (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

Reply via email to