From d080618c7efba88e91bb3d3c9bbc318a17506f86 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 17 May 2004 15:20:16 +0000 Subject: [PATCH] (mark_object): Mark Lisp_Misc_Free cell. Fix comment. --- src/alloc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/alloc.c b/src/alloc.c index dd4823bd9e3..c38376d80bc 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4979,10 +4979,9 @@ mark_object (arg) if (XMISCTYPE (obj) == Lisp_Misc_Free) { /* This is (probably) a freed marker which may still exist on - a buffer undo list, so accept it here. */ - /* If we reuse the marker, and it still exists on the undo - list, and we do undo, behaviour is unpredictable -- - but at least we don't crash here. KFS 2004-05-17 */ + a buffer undo list, so accept it here, as check below will + fail (not live). KFS 2004-05-17 */ + XMARKER (obj)->gcmarkbit = 1; break; } CHECK_ALLOCATED_AND_LIVE (live_misc_p); -- 2.39.5