Explicitly mark buffer_defaults and buffer_local_symbols.
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Sep 2012 09:15:44 +0000 (13:15 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Sep 2012 09:15:44 +0000 (13:15 +0400)
commitc752cfa916879f7415990855b52862dd585242ec
tree01e45e518004fb11b795072e060b2336847080dc
parent826b32357739a0ce755a5a2cadb3552b6914f4b3
Explicitly mark buffer_defaults and buffer_local_symbols.
* alloc.c (Fgarbage_collect): Mark buffer_defaults and
mark_local_symbols here.
(mark_object): If GC_CHECK_MARKED_OBJECTS, simplify checking
since special buffers aren't marked here any more.
(allocate_buffer): Chain new buffer with all_buffers here...
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): ...and
not here.
(Vbuffer_defaults, Vbuffer_local_symbols): Remove.
(syms_of_buffer): Remove staticpro of the above.
(init_buffer_once): Set names for buffer_defaults and
buffer_local_symbols.
src/ChangeLog
src/alloc.c
src/buffer.c