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

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

RE: regexp-replace default


From: Drew Adams
Subject: RE: regexp-replace default
Date: Wed, 15 Oct 2008 14:45:51 -0700

> 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?

Normally in Emacs `C-n' inserts the default value into the minibuffer for
editing/RET.





reply via email to

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