From 222426f69493fda9bdbcb8884fb0c9b2ff643595 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 5 Mar 2014 21:10:33 -0500 Subject: [PATCH] * doc/lispref/searching.texi (Replacing Match): Remove incorrect return value Fixes: debbugs:16942 --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/searching.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.2