From: Thien-Thi Nguyen Date: Sat, 7 May 2005 00:44:02 +0000 (+0000) Subject: (start_hourglass): Do nothing when running on a tty. X-Git-Tag: ttn-vms-21-2-B4~467 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a790bcd479bc87e78ec852a3218df7d82b6cbc8b;p=emacs.git (start_hourglass): Do nothing when running on a tty. --- 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)