(Fsleep_for): Accept sub-second intervals.
This commit is contained in:
parent
f3253b8f05
commit
6b5153b18a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue