(perform-replace): When matching regexps, if the next match is
commiteac9c508398bc8c0ed0bf4046b81de5ea3135226
authorPaul Eggert <eggert@twinsun.com>
Tue, 24 Jun 1997 10:48:10 +0000 (24 10:48 +0000)
committerPaul Eggert <eggert@twinsun.com>
Tue, 24 Jun 1997 10:48:10 +0000 (24 10:48 +0000)
tree010aef9e904e3dadd2ccb48a61937fec055a0eb4
parenta45d7c986aeab1cf162ce5bec02e18dbd77295ec
(perform-replace): When matching regexps, if the next match is
adjacent to this one, record the next match before replacing this one.
This fixes a bug where (replace-regexp "\\ba " "c") replaced "a a a "
with "ca c" instead of "ccc".
lisp/replace.el