Revert "Fix infloop in GC mark_kboards"
This reverts commit af914fc26d
,
since it caused unintended adverse effects on echoing of keys.
(Bug#33571)
This commit is contained in:
parent
8fa0d9679d
commit
c418c85617
1 changed files with 1 additions and 6 deletions
|
@ -12011,12 +12011,7 @@ mark_kboards (void)
|
||||||
for (event = kbd_fetch_ptr; event != kbd_store_ptr; event++)
|
for (event = kbd_fetch_ptr; event != kbd_store_ptr; event++)
|
||||||
{
|
{
|
||||||
if (event == kbd_buffer + KBD_BUFFER_SIZE)
|
if (event == kbd_buffer + KBD_BUFFER_SIZE)
|
||||||
{
|
event = kbd_buffer;
|
||||||
event = kbd_buffer;
|
|
||||||
if (event == kbd_store_ptr)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* These two special event types has no Lisp_Objects to mark. */
|
/* These two special event types has no Lisp_Objects to mark. */
|
||||||
if (event->kind != SELECTION_REQUEST_EVENT
|
if (event->kind != SELECTION_REQUEST_EVENT
|
||||||
&& event->kind != SELECTION_CLEAR_EVENT)
|
&& event->kind != SELECTION_CLEAR_EVENT)
|
||||||
|
|
Loading…
Add table
Reference in a new issue