Commit c39ca701 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix a recent change

* src/dispnew.c (sit_for): Don;t treat nil as zero.  Reported
by Glenn Morris <>.
parent adcf904b
......@@ -5775,7 +5775,7 @@ sit_for (Lisp_Object timeout, bool reading, int display_option)
else if (BIGNUMP (timeout))
if (!Fnatnump (timeout))
if (NILP (Fnatnump (timeout)))
return Qt;
sec = bignum_to_intmax (timeout);
if (sec == 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment