Commit d66bd635 authored by Glenn Morris's avatar Glenn Morris
Browse files

(sit-for): Fix obsolete form for nil second argument.

parent 7d55bf04
2008-02-21 Glenn Morris <>
* subr.el (sit-for): Fix obsolete form for nil second argument.
2008-02-21 Dan Nicolaescu <>
* progmodes/verilog-mode.el (eval-when-compile): Don't define
......@@ -1763,9 +1763,10 @@ in milliseconds; this was useful when Emacs was built without
floating point support.
\(fn SECONDS &optional NODISP)"
(when (or obsolete (numberp nodisp))
(setq seconds (+ seconds (* 1e-3 nodisp)))
(setq nodisp obsolete))
(if (numberp nodisp)
(setq seconds (+ seconds (* 1e-3 nodisp))
nodisp obsolete)
(if obsolete (setq nodisp obsolete)))
(sleep-for seconds)
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