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: Michael Heerdegen
Subject: Re: return of replace-match
Date: Tue, 04 Mar 2014 16:16:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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.


Regards,

Michael.




reply via email to

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