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

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

Re: regexp-replace default


From: David Kastrup
Subject: Re: regexp-replace default
Date: Wed, 15 Oct 2008 23:44:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Joe <joesmoe10@gmail.com> writes:

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

M-p

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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