diff options
author | Juri Linkov <juri@linkov.net> | 2018-04-28 23:20:33 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2018-04-28 23:20:33 +0300 |
commit | f4eeb0f5ae448db0f064f6305ab0bc0c3bae071a (patch) | |
tree | 375951dfe30538df200f6650b9bf178aadd3c803 /doc/misc/cl.texi | |
parent | 0b3bc05d15c32ffa134347896c9b9fcff89225ab (diff) | |
download | emacs-f4eeb0f5ae448db0f064f6305ab0bc0c3bae071a.tar.gz |
* lisp/subr.el (dotimes): Deprecate RESULT field. (Bug#16206)
* doc/lispref/control.texi (Iteration):
* doc/misc/cl.texi (Iteration): Document deprecation of its use.
* doc/lispintro/emacs-lisp-intro.texi (dotimes):
* test/src/emacs-module-tests.el (multiply-string):
* test/lisp/filenotify-tests.el (file-notify-test07-many-events):
Place RESULT field after the form.
Diffstat (limited to 'doc/misc/cl.texi')
-rw-r--r-- | doc/misc/cl.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index bf85b00e937..5ae0faf2554 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi @@ -1712,9 +1712,9 @@ but surrounds the loop with an implicit @code{nil} block. The body is executed with @var{var} bound to the integers from zero (inclusive) to @var{count} (exclusive), in turn. Then @c FIXME lispref does not state this part explicitly, could move this there. -the @code{result} form is evaluated with @var{var} bound to the total +the @var{result} form is evaluated with @var{var} bound to the total number of iterations that were done (i.e., @code{(max 0 @var{count})}) -to get the return value for the loop form. +to get the return value for the loop form. Use of @var{result} is deprecated. @end defmac @defmac cl-do-symbols (var [obarray [result]]) forms@dots{} |