On 2017-03-18, at 23:37, Uwe Brauer <o...@mat.ucm.es> wrote: > > On 2017-03-18, at 14:08, Uwe Brauer <o...@mat.ucm.es> wrote: > > > > How about this? > > > http://mbork.pl/2017-03-18_Deleting_all_instances_of_a_LaTeX_environment > > thanks for the cool code, it would never occurred to me to use > (unless (nth 4 (syntax-ppss)) > > > And thanks for an idea for a blog post;-). > > Thank you, most likely I will change it to comment out (if the epub > converter will use it correctly) > save-mark-and-excursion is better than a simple > save-excursion?
Did you try with a simple `save-excursion';-)? Best, -- Marcin Borkowski _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel