comparison src/search.c @ 4713:b6697b2a56ca

(Freplace_match): Call Finsert_and_inherit.
author Richard M. Stallman <rms@gnu.org>
date Tue, 14 Sep 1993 12:08:30 +0000
parents 1fc792473491
children 66a523672100
comparison
equal deleted inserted replaced
4712:367dc6ff392c 4713:b6697b2a56ca
1233 delete the original text. This means that markers at the 1233 delete the original text. This means that markers at the
1234 beginning or end of the original will float to the corresponding 1234 beginning or end of the original will float to the corresponding
1235 position in the replacement. */ 1235 position in the replacement. */
1236 SET_PT (search_regs.start[0]); 1236 SET_PT (search_regs.start[0]);
1237 if (!NILP (literal)) 1237 if (!NILP (literal))
1238 Finsert (1, &string); 1238 Finsert_and_inherit (1, &string);
1239 else 1239 else
1240 { 1240 {
1241 struct gcpro gcpro1; 1241 struct gcpro gcpro1;
1242 GCPRO1 (string); 1242 GCPRO1 (string);
1243 1243