aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorJuri Linkov2018-04-28 23:20:33 +0300
committerJuri Linkov2018-04-28 23:20:33 +0300
commitf4eeb0f5ae448db0f064f6305ab0bc0c3bae071a (patch)
tree375951dfe30538df200f6650b9bf178aadd3c803 /doc/misc
parent0b3bc05d15c32ffa134347896c9b9fcff89225ab (diff)
downloademacs-f4eeb0f5ae448db0f064f6305ab0bc0c3bae071a.tar.gz
emacs-f4eeb0f5ae448db0f064f6305ab0bc0c3bae071a.zip
* 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')
-rw-r--r--doc/misc/cl.texi4
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.
1712The body is executed with @var{var} bound to the integers 1712The body is executed with @var{var} bound to the integers
1713from zero (inclusive) to @var{count} (exclusive), in turn. Then 1713from zero (inclusive) to @var{count} (exclusive), in turn. Then
1714@c FIXME lispref does not state this part explicitly, could move this there. 1714@c FIXME lispref does not state this part explicitly, could move this there.
1715the @code{result} form is evaluated with @var{var} bound to the total 1715the @var{result} form is evaluated with @var{var} bound to the total
1716number of iterations that were done (i.e., @code{(max 0 @var{count})}) 1716number of iterations that were done (i.e., @code{(max 0 @var{count})})
1717to get the return value for the loop form. 1717to get the return value for the loop form. Use of @var{result} is deprecated.
1718@end defmac 1718@end defmac
1719 1719
1720@defmac cl-do-symbols (var [obarray [result]]) forms@dots{} 1720@defmac cl-do-symbols (var [obarray [result]]) forms@dots{}