Mercurial > emacs
diff src/alloc.c @ 55635:333119854d83
(mark_object): Mark Lisp_Misc_Free cell. Fix comment.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 17 May 2004 15:20:16 +0000 |
parents | d3542bbadad7 |
children | 57f4a242e8f4 |
line wrap: on
line diff
--- a/src/alloc.c Mon May 17 12:08:02 2004 +0000 +++ b/src/alloc.c Mon May 17 15:20:16 2004 +0000 @@ -4979,10 +4979,9 @@ 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);