[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12325: 24.2.50; doc of `replace-match' for STRING case
From: |
Chong Yidong |
Subject: |
bug#12325: 24.2.50; doc of `replace-match' for STRING case |
Date: |
Sat, 22 Sep 2012 23:26:55 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
"Drew Adams" <drew.adams@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.