(start_hourglass): Do nothing when running on a tty.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 7 May 2005 00:44:02 +0000 (00:44 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 7 May 2005 00:44:02 +0000 (00:44 +0000)
src/ChangeLog
src/xfns.c

index 36741df..8631d2e 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-07  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * xfns.c (start_hourglass): Do nothing when running on a tty.
+
 2005-05-07  Juanma Barranquero  <lekktu@gmail.com>
 
        * fns.c (Fchar_table_range): Fix typos in docstring.
index 34e474c..7e790e1 100644 (file)
@@ -4384,6 +4384,10 @@ start_hourglass ()
   EMACS_TIME delay;
   int secs, usecs = 0;
 
+  /* Don't bother for ttys.  */
+  if (NILP (Vwindow_system))
+    return;
+
   cancel_hourglass ();
 
   if (INTEGERP (Vhourglass_delay)