Commit 5474c384 authored by Dmitry Antipov's avatar Dmitry Antipov

Fix spare memory change.

* alloc.c (mark_maybe_pointer): Handle MEM_TYPE_SPARE.
(valid_lisp_object_p): Likewise.
parent 34f10d41
2012-08-27 Dmitry Antipov <dmantipov@yandex.ru>
Fix spare memory change.
* alloc.c (mark_maybe_pointer): Handle MEM_TYPE_SPARE.
(valid_lisp_object_p): Likewise.
2012-08-27 Martin Rudalics <rudalics@gmx.at>
* window.c (Fset_window_configuration): Record any window's old
......
......@@ -4563,6 +4563,7 @@ mark_maybe_pointer (void *p)
switch (m->type)
{
case MEM_TYPE_NON_LISP:
case MEM_TYPE_SPARE:
/* Nothing to do; not a pointer to Lisp memory. */
break;
......@@ -5019,6 +5020,7 @@ valid_lisp_object_p (Lisp_Object obj)
switch (m->type)
{
case MEM_TYPE_NON_LISP:
case MEM_TYPE_SPARE:
return 0;
case MEM_TYPE_BUFFER:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment