aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-04 12:10:17 +0000
committerKarl Heuer1994-10-04 12:10:17 +0000
commit55cfc73193a21253979cbfa94198b69e5030e14c (patch)
treec14a12b6132216ee4327c33e8f2852a7a0c4cb17 /src
parenteb7db9e6c24f46cd7671241cafb5144a2b34a5bf (diff)
downloademacs-55cfc73193a21253979cbfa94198b69e5030e14c.tar.gz
emacs-55cfc73193a21253979cbfa94198b69e5030e14c.zip
(graft_intervals_into_buffer): Use new accessor macros instead of calling XSET
directly.
Diffstat (limited to 'src')
-rw-r--r--src/intervals.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 5ec26e2d301..195285517da 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1434,7 +1434,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
1434 Lisp_Object buf; 1434 Lisp_Object buf;
1435 if (!inherit && ! NULL_INTERVAL_P (tree)) 1435 if (!inherit && ! NULL_INTERVAL_P (tree))
1436 { 1436 {
1437 XSET (buf, Lisp_Buffer, buffer); 1437 XSETBUFFER (buf, buffer);
1438 Fset_text_properties (make_number (position), 1438 Fset_text_properties (make_number (position),
1439 make_number (position + length), 1439 make_number (position + length),
1440 Qnil, buf); 1440 Qnil, buf);
@@ -1451,7 +1451,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
1451 if ((BUF_Z (buffer) - BUF_BEG (buffer)) == TOTAL_LENGTH (source)) 1451 if ((BUF_Z (buffer) - BUF_BEG (buffer)) == TOTAL_LENGTH (source))
1452 { 1452 {
1453 Lisp_Object buf; 1453 Lisp_Object buf;
1454 XSET (buf, Lisp_Buffer, buffer); 1454 XSETBUFFER (buf, buffer);
1455 buffer->intervals = reproduce_tree (source, buf); 1455 buffer->intervals = reproduce_tree (source, buf);
1456 /* Explicitly free the old tree here. */ 1456 /* Explicitly free the old tree here. */
1457 1457
@@ -1462,7 +1462,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
1462 of the intervals of the inserted string. */ 1462 of the intervals of the inserted string. */
1463 { 1463 {
1464 Lisp_Object buf; 1464 Lisp_Object buf;
1465 XSET (buf, Lisp_Buffer, buffer); 1465 XSETBUFFER (buf, buffer);
1466 tree = create_root_interval (buf); 1466 tree = create_root_interval (buf);
1467 } 1467 }
1468 } 1468 }