From 83c31c8df0ee4f1bb4141a8917e20e3ca9ad5630 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 10 Mar 2005 19:08:01 +0000 Subject: [PATCH] * xfns.c (hourglass_started): New function. --- src/xfns.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index 2be52a49670..816b107cef3 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4291,6 +4291,14 @@ static Lisp_Object Vhourglass_delay; static void show_hourglass P_ ((struct atimer *)); static void hide_hourglass P_ ((void)); +/* Return non-zero if houglass timer has been started or hourglass is shown. */ + +int +hourglass_started () +{ + return hourglass_shown_p || hourglass_atimer != NULL; +} + /* Cancel a currently active hourglass timer, and start a new one. */ -- 2.39.2