diff options
| author | Stefan Monnier | 2023-10-13 19:28:30 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2023-10-13 19:28:30 -0400 |
| commit | 9ecb595dea56ed1149b60245d021cb5e6d7dd73f (patch) | |
| tree | b646110c1b55982546dc2544bb708c4819467989 /doc | |
| parent | a5789198b34d83413674e596887c089a651f7cf4 (diff) | |
| download | emacs-9ecb595dea56ed1149b60245d021cb5e6d7dd73f.tar.gz emacs-9ecb595dea56ed1149b60245d021cb5e6d7dd73f.zip | |
(sit-for): Remove support for old calling convention
* lisp/subr.el (sit-for): Remove support for old calling convention
* doc/lispref/functions.texi (Obsolete Functions): Adjust wording now
that we don't support `sit-for`s old convention any more.
* doc/lispref/commands.texi (Waiting): Remove mention of old calling
convention for `sit-for`.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/commands.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/functions.texi | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 6601135cb85..fdf5ec1d7fe 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -3967,10 +3967,6 @@ the timeout elapses). | |||
| 3967 | In batch mode (@pxref{Batch Mode}), @code{sit-for} cannot be | 3967 | In batch mode (@pxref{Batch Mode}), @code{sit-for} cannot be |
| 3968 | interrupted, even by input from the standard input descriptor. It is | 3968 | interrupted, even by input from the standard input descriptor. It is |
| 3969 | thus equivalent to @code{sleep-for}, which is described below. | 3969 | thus equivalent to @code{sleep-for}, which is described below. |
| 3970 | |||
| 3971 | It is also possible to call @code{sit-for} with three arguments, | ||
| 3972 | as @code{(sit-for @var{seconds} @var{millisec} @var{nodisp})}, | ||
| 3973 | but that is considered obsolete. | ||
| 3974 | @end defun | 3970 | @end defun |
| 3975 | 3971 | ||
| 3976 | @defun sleep-for seconds &optional millisec | 3972 | @defun sleep-for seconds &optional millisec |
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 236b823e7e6..ba0d919549b 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -2364,8 +2364,8 @@ accepted three arguments, like this | |||
| 2364 | (sit-for seconds milliseconds nodisp) | 2364 | (sit-for seconds milliseconds nodisp) |
| 2365 | @end example | 2365 | @end example |
| 2366 | 2366 | ||
| 2367 | However, calling @code{sit-for} this way is considered obsolete | 2367 | During a transition period, the function accepted those three |
| 2368 | (@pxref{Waiting}). The old calling convention is deprecated like | 2368 | arguments, but declared this old calling convention as deprecated like |
| 2369 | this: | 2369 | this: |
| 2370 | 2370 | ||
| 2371 | @example | 2371 | @example |