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

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

Re: return of replace-match


From: Phillip Lord
Subject: Re: return of replace-match
Date: Tue, 04 Mar 2014 15:33:15 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> address@hidden (Phillip Lord) writes:
>
>> (progn
>>   (re-search-forward "bob")
>>   (replace-match "fred"))
>>
>> bob
>>
>> point gets moved to the end of "bob" (now "fred") but "nil" is returned.
>
>> Am I doing something wrong?
>
> I think the manual is just lying.  If nobody disagrees, please make a
> bug report.


Was my impression!

Phil



reply via email to

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