]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix false positive due to 'max-redisplay-ticks' feature
authorEli Zaretskii <eliz@gnu.org>
Sat, 25 Jun 2022 07:14:11 +0000 (10:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Jun 2022 07:14:11 +0000 (10:14 +0300)
* src/xdisp.c (redisplay_internal): Reset the tick count at end of
redisplay cycle.  (Bug#45898)

src/xdisp.c

index c37a58ab4e190747e21c59d28957e64c37f9ff38..886c3f4ecbf2949d7c4ba32e3194849e3784dea0 100644 (file)
@@ -16923,6 +16923,10 @@ redisplay_internal (void)
   if (interrupt_input && interrupts_deferred)
     request_sigio ();
 
+  /* We're done with this redisplay cycle, so reset the tick count in
+     preparation for the next redisplay cycle.  */
+  update_redisplay_ticks (0, NULL);
+
   unbind_to (count, Qnil);
   RESUME_POLLING;
 }