(start_hourglass): Do nothing when running on a tty.

This commit is contained in:
Thien-Thi Nguyen 2005-05-07 00:44:02 +00:00
parent 8a25d51ac5
commit a790bcd479
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-05-07 Thien-Thi Nguyen <ttn@gnu.org>
* xfns.c (start_hourglass): Do nothing when running on a tty.
2005-05-07 Juanma Barranquero <lekktu@gmail.com>
* fns.c (Fchar_table_range): Fix typos in docstring.

View file

@ -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)