]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak letrec documentation
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 9 Oct 2019 16:42:36 +0000 (18:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 9 Oct 2019 16:42:41 +0000 (18:42 +0200)
* doc/lispref/variables.texi (Local Variables): Compare letrec to
let* instead of let.

doc/lispref/variables.texi

index 8d6cc293800f1a3503d7975d1ab6d81f9b7afc7d..02e156396db0943446cbf208789a793c94e562dd 100644 (file)
@@ -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