diff options
author | Erik Naggum <erik@naggum.no> | 1996-02-22 05:50:00 +0000 |
---|---|---|
committer | Erik Naggum <erik@naggum.no> | 1996-02-22 05:50:00 +0000 |
commit | 4962b447c446fe44b4809f6fb63c759f7cd163f3 (patch) | |
tree | 8d8438e665eea27879ed895fabf309a2471ad897 | |
parent | 70a28b34993fda34b3ef4071615a739ed912a83a (diff) | |
download | emacs-4962b447c446fe44b4809f6fb63c759f7cd163f3.tar.gz |
(Fsleep_for): Accept sub-second intervals.
-rw-r--r-- | src/dispnew.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index ac0d30cef44..201f4a579e7 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -2308,7 +2308,7 @@ Emacs was built without floating point support.\n\ else sec += usec / 1000000, usec %= 1000000; - if (sec <= 0) + if (sec < 0 || (sec == 0 && usec == 0)) return Qnil; { |