[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

regexp/emacs selective replace

From: m121212
Subject: regexp/emacs selective replace
Date: Mon, 23 Nov 2009 05:41:34 -0800 (PST)


I have a tricky problem that I'm not sure how to solve.  I have a latex
document with several figure environments that look like this:


but need to look like this:

  \begin{center} \includegraphics{} \end{center}

Some of the figure environments already have this however, and I don't want
to end up with something like this:

  \begin{center}\begin{center} \includegraphics{}

Any ideas?   Also, is there a way Emacs can just wrap any selection with
custom, predefined tags?

View this message in context:
Sent from the Emacs - Help mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]