changeset 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 892a16c3b886
children da3ebc608137
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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)