help-gnu-emacs
[Top][All Lists]
Advanced

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

regexp-replace default


From: Joe
Subject: regexp-replace default
Date: Wed, 15 Oct 2008 14:17:24 -0700 (PDT)
User-agent: G2/1.0

Hey all,
Hopefully a simple question for the emacs wizards out there.  Say I do
a regexp-relace of:

M-x replace-regexp
  Replace regexp: foo
  Replace regexp with: bar

But then I realize I actually wanted foo to baz.  When I do M-x
replace-regexp it shows me the default

M-x replace-regexp
  Replace regexp (default foo -> bar):

Is there someway to get the default text and edit that instead of
typing it in again?

Thanks,
Joe


reply via email to

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