GNU bug report logs - #12325
24.2.50; doc of `replace-match' for STRING case

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 1 Sep 2012 19:58:01 UTC

Severity: minor

Found in version 24.2.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 12325-done <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 12325-done <at> debbugs.gnu.org
Subject: Re: bug#12325: 24.2.50; doc of `replace-match' for STRING case
Date: Sat, 22 Sep 2012 23:26:55 +0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> The doc, both the doc string and the Elisp manual entry, is not
> sufficiently clear that for the non-nil STRING case `replace-match' does
> NOT modify STRING but returns a new string.
>  
> That the function returns a new string is said, but that statement is
> buried among other statements that give the impression that STRING is
> modified.

Fixed in trunk.




This bug report was last modified 12 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.