Mercurial > emacs
view msdos/sed4.inp @ 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 | 39900cf5226a |
children | a4fb0c9be609 |
line wrap: on
line source
# -sed4.inp------------------------------------------------------------- # Configuration script for src/paths.h # ---------------------------------------------------------------------- /^#define *PATH_LOADSEARCH/s/".*"/rootrelativepath ("lisp")/ /^#define *PATH_DATA/s/".*"/rootrelativepath ("etc")/ /^#define *PATH_DOC/s/".*"/rootrelativepath ("etc")/ /^#define *PATH_INFO/s/".*"/rootrelativepath ("info")/