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