(perform-replace): When matching regexps, if the next match is
authorPaul Eggert <eggert@twinsun.com>
Tue, 24 Jun 1997 10:48:10 +0000 (10:48 +0000)
committerPaul Eggert <eggert@twinsun.com>
Tue, 24 Jun 1997 10:48:10 +0000 (10:48 +0000)
commit5632eb272c7efcd57cb42120fac9ad077c78e42e
treee8f600b50e77d61da7c4acd5fb80b6bf21e4f01e
parent6f0e09d4d05ac66aa11e5fccb8f24eb2999ca598
(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