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
commitf287361bbf0ffc65678719c4ad25689118b840ae (patch)
tree7834d969b23dcbc538abe63df02662d5d803a54b /src/intervals.c
parentdd51b29adcfaa3f662c1011055d72ae437f3dff7 (diff)
downloademacs-f287361bbf0ffc65678719c4ad25689118b840ae.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);
}
}