aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-09 18:42:36 +0200
committerLars Ingebrigtsen2019-10-09 18:42:41 +0200
commitfe2e29d29b50b378545632fb730209de6e5532d5 (patch)
treed6636dfaba7efb6b0a74f09c0358ec1f6f950565
parent600bcde608479fc454e4794add84905d6337d3fa (diff)
downloademacs-fe2e29d29b50b378545632fb730209de6e5532d5.tar.gz
emacs-fe2e29d29b50b378545632fb730209de6e5532d5.zip
Tweak letrec documentation
* doc/lispref/variables.texi (Local Variables): Compare letrec to let* instead of let.
-rw-r--r--doc/lispref/variables.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 8d6cc293800..02e156396db 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -268,7 +268,7 @@ Compare the following example with the example above for @code{let}.
268@end defspec 268@end defspec
269 269
270@defspec letrec (bindings@dots{}) forms@dots{} 270@defspec letrec (bindings@dots{}) forms@dots{}
271This special form is like @code{let}, but all the variables are bound 271This special form is like @code{let*}, but all the variables are bound
272before any of the local values are computed. The values are then 272before any of the local values are computed. The values are then
273assigned to the locally bound variables. This is only useful when 273assigned to the locally bound variables. This is only useful when
274lexical binding is in effect, and you want to create closures that 274lexical binding is in effect, and you want to create closures that