From: Erik Naggum Date: Thu, 22 Feb 1996 05:50:00 +0000 (+0000) Subject: (Fsleep_for): Accept sub-second intervals. X-Git-Tag: emacs-19.34~1214 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b5153b18a32e68b87090dec38bf03ef0f70218f;p=emacs.git (Fsleep_for): Accept sub-second intervals. --- 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; {