David Kastrup wrote: > Holger Sparr <[EMAIL PROTECTED]> writes: > >> when using 'C-c RET' and being asked for further input for this macro >> the insertion might take place in several steps. >> >> What can be done to undo the whole insertion at once? > > (defadvice TeX-insert-macro (around whole-undo activate) > (atomic-change-group ad-do-it)) > > could possibly work.
Unfortunately, it does not. (Building the string ahead of insertion causes a lot of changes in the style files. Inserting it in a temp buffer could be an option.) Holger -- _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
