From a790bcd479bc87e78ec852a3218df7d82b6cbc8b Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sat, 7 May 2005 00:44:02 +0000 Subject: [PATCH] (start_hourglass): Do nothing when running on a tty. --- src/ChangeLog | 4 ++++ src/xfns.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 36741dfd845..8631d2ecd65 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-05-07 Thien-Thi Nguyen + + * xfns.c (start_hourglass): Do nothing when running on a tty. + 2005-05-07 Juanma Barranquero * fns.c (Fchar_table_range): Fix typos in docstring. diff --git a/src/xfns.c b/src/xfns.c index 34e474c7f0c..7e790e1eaa3 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) -- 2.39.2