Mercurial > emacs
diff src/macros.c @ 18433:1de7cef26431
(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".
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Tue, 24 Jun 1997 10:48:10 +0000 |
parents | 4999fc12564e |
children | 608c1a9aefc8 |