aboutsummaryrefslogtreecommitdiffstats
path: root/src/textprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/textprop.c b/src/textprop.c
index fd70f039d22..785ed19b566 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -1253,7 +1253,7 @@ Return t if any property value actually changed, nil otherwise. */)
1253 } 1253 }
1254 1254
1255 if (BUFFERP (object)) 1255 if (BUFFERP (object))
1256 modify_region (XBUFFER (object), XINT (start), XINT (end)); 1256 modify_region (XBUFFER (object), XINT (start), XINT (end), 1);
1257 1257
1258 /* We are at the beginning of interval I, with LEN chars to scan. */ 1258 /* We are at the beginning of interval I, with LEN chars to scan. */
1259 for (;;) 1259 for (;;)
@@ -1393,7 +1393,7 @@ set_text_properties (start, end, properties, object, signal_after_change_p)
1393 } 1393 }
1394 1394
1395 if (BUFFERP (object)) 1395 if (BUFFERP (object))
1396 modify_region (XBUFFER (object), XINT (start), XINT (end)); 1396 modify_region (XBUFFER (object), XINT (start), XINT (end), 1);
1397 1397
1398 set_text_properties_1 (start, end, properties, object, i); 1398 set_text_properties_1 (start, end, properties, object, i);
1399 1399
@@ -1541,7 +1541,7 @@ Use set-text-properties if you want to remove all text properties. */)
1541 } 1541 }
1542 1542
1543 if (BUFFERP (object)) 1543 if (BUFFERP (object))
1544 modify_region (XBUFFER (object), XINT (start), XINT (end)); 1544 modify_region (XBUFFER (object), XINT (start), XINT (end), 1);
1545 1545
1546 /* We are at the beginning of an interval, with len to scan */ 1546 /* We are at the beginning of an interval, with len to scan */
1547 for (;;) 1547 for (;;)
@@ -1655,7 +1655,7 @@ Return t if any property was actually removed, nil otherwise. */)
1655 if (LENGTH (i) == len) 1655 if (LENGTH (i) == len)
1656 { 1656 {
1657 if (!modified && BUFFERP (object)) 1657 if (!modified && BUFFERP (object))
1658 modify_region (XBUFFER (object), XINT (start), XINT (end)); 1658 modify_region (XBUFFER (object), XINT (start), XINT (end), 1);
1659 remove_properties (Qnil, properties, i, object); 1659 remove_properties (Qnil, properties, i, object);
1660 if (BUFFERP (object)) 1660 if (BUFFERP (object))
1661 signal_after_change (XINT (start), XINT (end) - XINT (start), 1661 signal_after_change (XINT (start), XINT (end) - XINT (start),
@@ -1668,7 +1668,7 @@ Return t if any property was actually removed, nil otherwise. */)
1668 i = split_interval_left (i, len); 1668 i = split_interval_left (i, len);
1669 copy_properties (unchanged, i); 1669 copy_properties (unchanged, i);
1670 if (!modified && BUFFERP (object)) 1670 if (!modified && BUFFERP (object))
1671 modify_region (XBUFFER (object), XINT (start), XINT (end)); 1671 modify_region (XBUFFER (object), XINT (start), XINT (end), 1);
1672 remove_properties (Qnil, properties, i, object); 1672 remove_properties (Qnil, properties, i, object);
1673 if (BUFFERP (object)) 1673 if (BUFFERP (object))
1674 signal_after_change (XINT (start), XINT (end) - XINT (start), 1674 signal_after_change (XINT (start), XINT (end) - XINT (start),
@@ -1679,7 +1679,7 @@ Return t if any property was actually removed, nil otherwise. */)
1679 if (interval_has_some_properties_list (properties, i)) 1679 if (interval_has_some_properties_list (properties, i))
1680 { 1680 {
1681 if (!modified && BUFFERP (object)) 1681 if (!modified && BUFFERP (object))
1682 modify_region (XBUFFER (object), XINT (start), XINT (end)); 1682 modify_region (XBUFFER (object), XINT (start), XINT (end), 1);
1683 remove_properties (Qnil, properties, i, object); 1683 remove_properties (Qnil, properties, i, object);
1684 modified = 1; 1684 modified = 1;
1685 } 1685 }