aboutsummaryrefslogtreecommitdiffstats
path: root/src/textprop.c
diff options
context:
space:
mode:
authorKarl Heuer1995-12-21 17:14:30 +0000
committerKarl Heuer1995-12-21 17:14:30 +0000
commita03f91ada2cec963ec3e73e81dbc8fbd4e8e0cc9 (patch)
tree101ab2717638c9b1bf58f6e2d3adc39b673eed62 /src/textprop.c
parentf75e1ee572b46f6baf1f0c15aea277cd797efeba (diff)
downloademacs-a03f91ada2cec963ec3e73e81dbc8fbd4e8e0cc9.tar.gz
emacs-a03f91ada2cec963ec3e73e81dbc8fbd4e8e0cc9.zip
(add_properties, remove_properties, set_properties):
Call signal_after_change.
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c
index a4f697810ed..4fea8d9e4fb 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -304,6 +304,8 @@ set_properties (properties, interval, object)
304 record_property_change (interval->position, LENGTH (interval), 304 record_property_change (interval->position, LENGTH (interval),
305 XCONS (sym)->car, XCONS (value)->car, 305 XCONS (sym)->car, XCONS (value)->car,
306 object); 306 object);
307 signal_after_change (interval->position, LENGTH (interval),
308 LENGTH (interval));
307 } 309 }
308 310
309 /* For each new property that has no value at all in the old plist, 311 /* For each new property that has no value at all in the old plist,
@@ -319,6 +321,8 @@ set_properties (properties, interval, object)
319 record_property_change (interval->position, LENGTH (interval), 321 record_property_change (interval->position, LENGTH (interval),
320 XCONS (sym)->car, Qnil, 322 XCONS (sym)->car, Qnil,
321 object); 323 object);
324 signal_after_change (interval->position, LENGTH (interval),
325 LENGTH (interval));
322 } 326 }
323 } 327 }
324 328
@@ -386,6 +390,7 @@ add_properties (plist, i, object)
386 make_number (i->position + LENGTH (i))); 390 make_number (i->position + LENGTH (i)));
387 record_property_change (i->position, LENGTH (i), 391 record_property_change (i->position, LENGTH (i),
388 sym1, Fcar (this_cdr), object); 392 sym1, Fcar (this_cdr), object);
393 signal_after_change (i->position, LENGTH (i), LENGTH (i));
389 } 394 }
390 395
391 /* I's property has a different value -- change it */ 396 /* I's property has a different value -- change it */
@@ -404,6 +409,7 @@ add_properties (plist, i, object)
404 make_number (i->position + LENGTH (i))); 409 make_number (i->position + LENGTH (i)));
405 record_property_change (i->position, LENGTH (i), 410 record_property_change (i->position, LENGTH (i),
406 sym1, Qnil, object); 411 sym1, Qnil, object);
412 signal_after_change (i->position, LENGTH (i), LENGTH (i));
407 } 413 }
408 i->plist = Fcons (sym1, Fcons (val1, i->plist)); 414 i->plist = Fcons (sym1, Fcons (val1, i->plist));
409 changed++; 415 changed++;
@@ -445,6 +451,7 @@ remove_properties (plist, i, object)
445 record_property_change (i->position, LENGTH (i), 451 record_property_change (i->position, LENGTH (i),
446 sym, Fcar (Fcdr (current_plist)), 452 sym, Fcar (Fcdr (current_plist)),
447 object); 453 object);
454 signal_after_change (i->position, LENGTH (i), LENGTH (i));
448 } 455 }
449 456
450 current_plist = Fcdr (Fcdr (current_plist)); 457 current_plist = Fcdr (Fcdr (current_plist));
@@ -466,6 +473,7 @@ remove_properties (plist, i, object)
466 make_number (i->position + LENGTH (i))); 473 make_number (i->position + LENGTH (i)));
467 record_property_change (i->position, LENGTH (i), 474 record_property_change (i->position, LENGTH (i),
468 sym, Fcar (Fcdr (this)), object); 475 sym, Fcar (Fcdr (this)), object);
476 signal_after_change (i->position, LENGTH (i), LENGTH (i));
469 } 477 }
470 478
471 Fsetcdr (Fcdr (tail2), Fcdr (Fcdr (this))); 479 Fsetcdr (Fcdr (tail2), Fcdr (Fcdr (this)));