Mercurial > emacs
comparison src/textprop.c @ 46381:ab2bd718aad6
* textprop.c (set_text_properties): Use STRING_SET_INTERVALS.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 15 Jul 2002 06:56:48 +0000 |
parents | 40db0673e6f0 |
children | 218b99308569 |
comparison
equal
deleted
inserted
replaced
46380:48b292c584a6 | 46381:ab2bd718aad6 |
---|---|
1309 && XFASTINT (end) == SCHARS (object)) | 1309 && XFASTINT (end) == SCHARS (object)) |
1310 { | 1310 { |
1311 if (! STRING_INTERVALS (object)) | 1311 if (! STRING_INTERVALS (object)) |
1312 return Qt; | 1312 return Qt; |
1313 | 1313 |
1314 STRING_INTERVALS (object) = 0; | 1314 STRING_SET_INTERVALS (object, NULL_INTERVAL); |
1315 return Qt; | 1315 return Qt; |
1316 } | 1316 } |
1317 | 1317 |
1318 i = validate_interval_range (object, &start, &end, soft); | 1318 i = validate_interval_range (object, &start, &end, soft); |
1319 | 1319 |