diff options
| author | Glenn Morris | 2008-02-21 08:13:45 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-21 08:13:45 +0000 |
| commit | 000b06df1172f9e20e7e8a21951da65c08163d46 (patch) | |
| tree | 2d097426c188d34597f696db59ca4cb4d372005f | |
| parent | 424c157fc59dd4719224b632dc640d861e8af5ab (diff) | |
| download | emacs-000b06df1172f9e20e7e8a21951da65c08163d46.tar.gz emacs-000b06df1172f9e20e7e8a21951da65c08163d46.zip | |
(sit-for): Fix obsolete form for nil second argument.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/subr.el | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6c2a4ea2471..ce1d263b0ae 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -3,6 +3,8 @@ | |||
| 3 | * composite.el (encode-composition-rule): Fix typo in error message. | 3 | * composite.el (encode-composition-rule): Fix typo in error message. |
| 4 | (composition-function-table, auto-composition-mode): Doc fixes. | 4 | (composition-function-table, auto-composition-mode): Doc fixes. |
| 5 | 5 | ||
| 6 | * subr.el (sit-for): Fix obsolete form for nil second argument. | ||
| 7 | |||
| 6 | 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp> | 8 | 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp> |
| 7 | 9 | ||
| 8 | * composite.el (compose-chars-after): Fix arguments for a function | 10 | * composite.el (compose-chars-after): Fix arguments for a function |
diff --git a/lisp/subr.el b/lisp/subr.el index 8c7d89591d9..6980bf69959 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1831,9 +1831,10 @@ in milliseconds; this was useful when Emacs was built without | |||
| 1831 | floating point support. | 1831 | floating point support. |
| 1832 | 1832 | ||
| 1833 | \(fn SECONDS &optional NODISP)" | 1833 | \(fn SECONDS &optional NODISP)" |
| 1834 | (when (or obsolete (numberp nodisp)) | 1834 | (if (numberp nodisp) |
| 1835 | (setq seconds (+ seconds (* 1e-3 nodisp))) | 1835 | (setq seconds (+ seconds (* 1e-3 nodisp)) |
| 1836 | (setq nodisp obsolete)) | 1836 | nodisp obsolete) |
| 1837 | (if obsolete (setq nodisp obsolete))) | ||
| 1837 | (cond | 1838 | (cond |
| 1838 | (noninteractive | 1839 | (noninteractive |
| 1839 | (sleep-for seconds) | 1840 | (sleep-for seconds) |