summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-09 18:42:36 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-09 18:42:41 +0200
commitfe2e29d29b50b378545632fb730209de6e5532d5 (patch)
treed6636dfaba7efb6b0a74f09c0358ec1f6f950565
parent600bcde608479fc454e4794add84905d6337d3fa (diff)
downloademacs-fe2e29d29b50b378545632fb730209de6e5532d5.tar.gz
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}.
@end defspec
@defspec letrec (bindings@dots{}) forms@dots{}
-This special form is like @code{let}, but all the variables are bound
+This special form is like @code{let*}, but all the variables are bound
before any of the local values are computed. The values are then
assigned to the locally bound variables. This is only useful when
lexical binding is in effect, and you want to create closures that