diff src/xfns.c @ 62144:19e471e1a080

(start_hourglass): Do nothing when running on a tty.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sat, 07 May 2005 00:42:31 +0000
parents 41e456f361cc
children 0c2ce5566afa 5ae8a8b0a308
line wrap: on
line diff
--- a/src/xfns.c	Sat May 07 00:07:48 2005 +0000
+++ b/src/xfns.c	Sat May 07 00:42:31 2005 +0000
@@ -4384,6 +4384,10 @@
   EMACS_TIME delay;
   int secs, usecs = 0;
 
+  /* Don't bother for ttys.  */
+  if (NILP (Vwindow_system))
+    return;
+
   cancel_hourglass ();
 
   if (INTEGERP (Vhourglass_delay)