summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 34503939a3c..6cf0e232c27 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2085,7 +2085,7 @@ BEG and END may be integers or markers.")
end = Fset_marker (Fmake_marker (), end, buffer);
overlay = allocate_misc ();
- XMISC (overlay)->type = Lisp_Misc_Overlay;
+ XMISCTYPE (overlay) = Lisp_Misc_Overlay;
XOVERLAY (overlay)->start = beg;
XOVERLAY (overlay)->end = end;
XOVERLAY (overlay)->plist = Qnil;