summaryrefslogtreecommitdiff
path: root/src/intervals.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-04 12:10:17 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-04 12:10:17 +0000
commit55cfc73193a21253979cbfa94198b69e5030e14c (patch)
treec14a12b6132216ee4327c33e8f2852a7a0c4cb17 /src/intervals.c
parenteb7db9e6c24f46cd7671241cafb5144a2b34a5bf (diff)
downloademacs-55cfc73193a21253979cbfa94198b69e5030e14c.tar.gz
(graft_intervals_into_buffer): Use new accessor macros instead of calling XSET
directly.
Diffstat (limited to 'src/intervals.c')
-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)
Lisp_Object buf;
if (!inherit && ! NULL_INTERVAL_P (tree))
{
- XSET (buf, Lisp_Buffer, buffer);
+ XSETBUFFER (buf, buffer);
Fset_text_properties (make_number (position),
make_number (position + length),
Qnil, buf);
@@ -1451,7 +1451,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
if ((BUF_Z (buffer) - BUF_BEG (buffer)) == TOTAL_LENGTH (source))
{
Lisp_Object buf;
- XSET (buf, Lisp_Buffer, buffer);
+ XSETBUFFER (buf, buffer);
buffer->intervals = reproduce_tree (source, buf);
/* Explicitly free the old tree here. */
@@ -1462,7 +1462,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
of the intervals of the inserted string. */
{
Lisp_Object buf;
- XSET (buf, Lisp_Buffer, buffer);
+ XSETBUFFER (buf, buffer);
tree = create_root_interval (buf);
}
}