comparison src/insdel.c @ 89909:68c22ea6027c

Sync to HEAD
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Apr 2004 12:51:06 +0000
parents dd3ec25f37e8
children 4c90ffeb71c5
comparison
equal deleted inserted replaced
89908:ee1402f7b568 89909:68c22ea6027c
439 m->charpos += nchars; 439 m->charpos += nchars;
440 } 440 }
441 } 441 }
442 442
443 /* Adjusting only markers whose insertion-type is t may result in 443 /* Adjusting only markers whose insertion-type is t may result in
444 disordered overlays in the slot `overlays_before'. */ 444 - disordered start and end in overlays, and
445 - disordered overlays in the slot `overlays_before' of current_buffer. */
445 if (adjusted) 446 if (adjusted)
446 fix_overlays_before (current_buffer, from, to); 447 {
448 fix_start_end_in_overlays(from, to);
449 fix_overlays_before (current_buffer, from, to);
450 }
447 } 451 }
448 452
449 /* Adjust point for an insertion of NBYTES bytes, which are NCHARS characters. 453 /* Adjust point for an insertion of NBYTES bytes, which are NCHARS characters.
450 454
451 This is used only when the value of point changes due to an insert 455 This is used only when the value of point changes due to an insert
2312 Qinhibit_modification_hooks = intern ("inhibit-modification-hooks"); 2316 Qinhibit_modification_hooks = intern ("inhibit-modification-hooks");
2313 staticpro (&Qinhibit_modification_hooks); 2317 staticpro (&Qinhibit_modification_hooks);
2314 2318
2315 defsubr (&Scombine_after_change_execute); 2319 defsubr (&Scombine_after_change_execute);
2316 } 2320 }
2321
2322 /* arch-tag: 9b34b886-47d7-465e-a234-299af411b23d
2323 (do not change this comment) */