(sit-for): Fix obsolete form for nil second argument.
This commit is contained in:
parent
424c157fc5
commit
000b06df11
2 changed files with 6 additions and 3 deletions
|
@ -3,6 +3,8 @@
|
|||
* composite.el (encode-composition-rule): Fix typo in error message.
|
||||
(composition-function-table, auto-composition-mode): Doc fixes.
|
||||
|
||||
* subr.el (sit-for): Fix obsolete form for nil second argument.
|
||||
|
||||
2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
|
||||
|
||||
* composite.el (compose-chars-after): Fix arguments for a function
|
||||
|
|
|
@ -1831,9 +1831,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)))
|
||||
(cond
|
||||
(noninteractive
|
||||
(sleep-for seconds)
|
||||
|
|
Loading…
Add table
Reference in a new issue