From: Glenn Morris Date: Thu, 6 Mar 2014 02:10:33 +0000 (-0500) Subject: * doc/lispref/searching.texi (Replacing Match): Remove incorrect return value X-Git-Tag: emacs-24.3.90~267 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=222426f69493fda9bdbcb8884fb0c9b2ff643595;p=emacs.git * doc/lispref/searching.texi (Replacing Match): Remove incorrect return value Fixes: debbugs:16942 --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 52c2307b119..9b4090461fb 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2014-03-06 Glenn Morris + + * searching.texi (Replacing Match): + Remove incorrect, uninteresting return value. (Bug#16942) + 2014-03-05 Martin Rudalics * display.texi (Window Dividers): New section. diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 2f287cc9705..992ad001fe7 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi @@ -1284,7 +1284,7 @@ If you did the last search in a buffer, you should omit the the current buffer is the one in which you performed the last search. Then this function edits the buffer, replacing the matched text with @var{replacement}. It leaves point at the end of the replacement -text, and returns @code{t}. +text. If you performed the last search on a string, pass the same string as @var{string}. Then this function returns a new string, in which the