aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index f656dc94216..faad0b59c87 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6015,8 +6015,9 @@ mark_overlay (struct Lisp_Overlay *ptr)
6015 for (; ptr && !ptr->gcmarkbit; ptr = ptr->next) 6015 for (; ptr && !ptr->gcmarkbit; ptr = ptr->next)
6016 { 6016 {
6017 ptr->gcmarkbit = 1; 6017 ptr->gcmarkbit = 1;
6018 mark_object (ptr->start); 6018 /* These two are always markers and can be marked fast. */
6019 mark_object (ptr->end); 6019 XMARKER (ptr->start)->gcmarkbit = 1;
6020 XMARKER (ptr->end)->gcmarkbit = 1;
6020 mark_object (ptr->plist); 6021 mark_object (ptr->plist);
6021 } 6022 }
6022} 6023}