summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-02-29 09:31:20 +0000
committerGerd Moellmann <gerd@gnu.org>2000-02-29 09:31:20 +0000
commit99f01f62ed07bee829ad4807b971b761803f88d6 (patch)
tree6bd7b706900c44a37f28cf5e4a3404ce1b619ac5
parent0d6ba42e4997e0a440f9eb64b269e81e31f48d38 (diff)
downloademacs-99f01f62ed07bee829ad4807b971b761803f88d6.tar.gz
emacs-99f01f62ed07bee829ad4807b971b761803f88d6.tar.bz2
emacs-99f01f62ed07bee829ad4807b971b761803f88d6.zip
(cancel_busy_cursor): Set busy_cursor_atimer to null
after canceling it.
-rw-r--r--src/xfns.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 7fd8119a5f3..e412cc568c6 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -10111,7 +10111,11 @@ void
cancel_busy_cursor ()
{
if (busy_cursor_atimer)
- cancel_atimer (busy_cursor_atimer);
+ {
+ cancel_atimer (busy_cursor_atimer);
+ busy_cursor_atimer = NULL;
+ }
+
if (busy_cursor_shown_p)
hide_busy_cursor ();
}