summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-02-25 14:05:03 +0000
committerGerd Moellmann <gerd@gnu.org>2000-02-25 14:05:03 +0000
commita2b881236d4061c6f668948958da87a177a4474f (patch)
treee16dd9468ebce0476a6c74ec34316966c2914d1a /src
parentadd1da0cbc7a19c65074e15a639d534318db72fd (diff)
downloademacs-a2b881236d4061c6f668948958da87a177a4474f.tar.gz
(recursive_edit_1): Cancel busy-cursor.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index ff94b42677c..75bafc28b83 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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);