aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorThien-Thi Nguyen <[email protected]>2005-05-07 00:44:02 +0000
committerThien-Thi Nguyen <[email protected]>2005-05-07 00:44:02 +0000
commita790bcd479bc87e78ec852a3218df7d82b6cbc8b (patch)
treebc5dd35155501200269218c578424ee4e27f5e54 /src/xfns.c
parent8a25d51ac55834e238bcca138e6ba782dabbbed1 (diff)
(start_hourglass): Do nothing when running on a tty.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 34e474c7f0..7e790e1eaa 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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)