]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix infloop in GC mark_kboards"
authorEli Zaretskii <eliz@gnu.org>
Sun, 2 Dec 2018 07:39:04 +0000 (09:39 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 2 Dec 2018 07:39:04 +0000 (09:39 +0200)
This reverts commit af914fc26db273d8788e7efa57c569f0f778d037,
since it caused unintended adverse effects on echoing of keys.
(Bug#33571)

src/keyboard.c

index dccc6b7f128e79f9c888594dd9d7c28ac411df53..0d56ea3f7ac911658d2fed1029acd90d79e7b650 100644 (file)
@@ -12011,12 +12011,7 @@ mark_kboards (void)
     for (event = kbd_fetch_ptr; event != kbd_store_ptr; event++)
       {
        if (event == kbd_buffer + KBD_BUFFER_SIZE)
-         {
-           event = kbd_buffer;
-           if (event == kbd_store_ptr)
-             break;
-         }
-
+         event = kbd_buffer;
        /* These two special event types has no Lisp_Objects to mark.  */
        if (event->kind != SELECTION_REQUEST_EVENT
            && event->kind != SELECTION_CLEAR_EVENT)