]> git.eshelyaron.com Git - emacs.git/commitdiff
(recursive_edit_1): Cancel busy-cursor.
authorGerd Moellmann <gerd@gnu.org>
Fri, 25 Feb 2000 14:05:03 +0000 (14:05 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 25 Feb 2000 14:05:03 +0000 (14:05 +0000)
src/keyboard.c

index ff94b42677cc84ba2d9da1b9f005ce2c53a025a7..75bafc28b830f22ddee23dd56bc342fe7235e3bc 100644 (file)
@@ -858,6 +858,14 @@ recursive_edit_1 ()
       specbind (Qstandard_input, Qt);
     }
 
+#ifdef HAVE_X_WINDOWS
+  /* The command loop has started a busy-cursor timer, so we have to
+     cancel it here, otherwise it will fire because the recursive edit
+     can take some time.  */
+  if (display_busy_cursor_p)
+    cancel_busy_cursor ();
+#endif
+
   val = command_loop ();
   if (EQ (val, Qt))
     Fsignal (Qquit, Qnil);