aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2023-10-13 19:28:30 -0400
committerStefan Monnier2023-10-13 19:28:30 -0400
commit9ecb595dea56ed1149b60245d021cb5e6d7dd73f (patch)
treeb646110c1b55982546dc2544bb708c4819467989 /doc
parenta5789198b34d83413674e596887c089a651f7cf4 (diff)
downloademacs-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.texi4
-rw-r--r--doc/lispref/functions.texi4
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).
3967In batch mode (@pxref{Batch Mode}), @code{sit-for} cannot be 3967In batch mode (@pxref{Batch Mode}), @code{sit-for} cannot be
3968interrupted, even by input from the standard input descriptor. It is 3968interrupted, even by input from the standard input descriptor. It is
3969thus equivalent to @code{sleep-for}, which is described below. 3969thus equivalent to @code{sleep-for}, which is described below.
3970
3971It is also possible to call @code{sit-for} with three arguments,
3972as @code{(sit-for @var{seconds} @var{millisec} @var{nodisp})},
3973but 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
2367However, calling @code{sit-for} this way is considered obsolete 2367During a transition period, the function accepted those three
2368(@pxref{Waiting}). The old calling convention is deprecated like 2368arguments, but declared this old calling convention as deprecated like
2369this: 2369this:
2370 2370
2371@example 2371@example