diff options
| author | Juanma Barranquero | 2005-06-23 16:06:10 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-23 16:06:10 +0000 |
| commit | 861e19b931e3bd7b2bb169bac92b5c53ab07f839 (patch) | |
| tree | 22c3d4f878177a641ac75cbae3d59a22bcd10630 /src | |
| parent | 95030461c98673b2c61a78249d64ec6dcc3a6f04 (diff) | |
| download | emacs-861e19b931e3bd7b2bb169bac92b5c53ab07f839.tar.gz emacs-861e19b931e3bd7b2bb169bac92b5c53ab07f839.zip | |
(Fsleep_for, Fsit_for): Follow error conventions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 38e4daaaefc..f92c3f2c8f0 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -6348,7 +6348,7 @@ Emacs was built without floating point support. | |||
| 6348 | 6348 | ||
| 6349 | #ifndef EMACS_HAS_USECS | 6349 | #ifndef EMACS_HAS_USECS |
| 6350 | if (sec == 0 && usec != 0) | 6350 | if (sec == 0 && usec != 0) |
| 6351 | error ("millisecond `sleep-for' not supported on %s", SYSTEM_TYPE); | 6351 | error ("Millisecond `sleep-for' not supported on %s", SYSTEM_TYPE); |
| 6352 | #endif | 6352 | #endif |
| 6353 | 6353 | ||
| 6354 | /* Assure that 0 <= usec < 1000000. */ | 6354 | /* Assure that 0 <= usec < 1000000. */ |
| @@ -6448,7 +6448,7 @@ usage: (sit-for SECONDS &optional NODISP OLD-NODISP) */) | |||
| 6448 | 6448 | ||
| 6449 | #ifndef EMACS_HAS_USECS | 6449 | #ifndef EMACS_HAS_USECS |
| 6450 | if (usec != 0 && sec == 0) | 6450 | if (usec != 0 && sec == 0) |
| 6451 | error ("millisecond `sit-for' not supported on %s", SYSTEM_TYPE); | 6451 | error ("Millisecond `sit-for' not supported on %s", SYSTEM_TYPE); |
| 6452 | #endif | 6452 | #endif |
| 6453 | 6453 | ||
| 6454 | return sit_for (sec, usec, 0, NILP (nodisp), NILP (nodisp)); | 6454 | return sit_for (sec, usec, 0, NILP (nodisp), NILP (nodisp)); |