Mercurial > emacs
comparison src/xfns.c @ 90180:62afea0771d8
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-51
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 289-301)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 68)
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 12 May 2005 03:41:19 +0000 |
parents | 30ad2795fdab 0c2ce5566afa |
children | bb71c6cf2009 |
comparison
equal
deleted
inserted
replaced
90179:b745036dab36 | 90180:62afea0771d8 |
---|---|
18 along with GNU Emacs; see the file COPYING. If not, write to | 18 along with GNU Emacs; see the file COPYING. If not, write to |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
20 Boston, MA 02111-1307, USA. */ | 20 Boston, MA 02111-1307, USA. */ |
21 | 21 |
22 #include <config.h> | 22 #include <config.h> |
23 #include <signal.h> | |
24 #include <stdio.h> | 23 #include <stdio.h> |
25 #include <math.h> | 24 #include <math.h> |
26 | 25 |
27 #ifdef HAVE_UNISTD_H | 26 #ifdef HAVE_UNISTD_H |
28 #include <unistd.h> | 27 #include <unistd.h> |
4366 start_hourglass () | 4365 start_hourglass () |
4367 { | 4366 { |
4368 EMACS_TIME delay; | 4367 EMACS_TIME delay; |
4369 int secs, usecs = 0; | 4368 int secs, usecs = 0; |
4370 | 4369 |
4370 /* Don't bother for ttys. */ | |
4371 if (NILP (Vwindow_system)) | |
4372 return; | |
4373 | |
4371 cancel_hourglass (); | 4374 cancel_hourglass (); |
4372 | 4375 |
4373 if (INTEGERP (Vhourglass_delay) | 4376 if (INTEGERP (Vhourglass_delay) |
4374 && XINT (Vhourglass_delay) > 0) | 4377 && XINT (Vhourglass_delay) > 0) |
4375 secs = XFASTINT (Vhourglass_delay); | 4378 secs = XFASTINT (Vhourglass_delay); |