mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Document `letrec'
* doc/lispref/variables.texi (Local Variables): Document letrec (bug#21048). * lisp/subr.el (letrec): Expand the doc string slightly.
This commit is contained in:
parent
43310f4387
commit
489a106b1c
2 changed files with 12 additions and 1 deletions
|
|
@ -1739,7 +1739,9 @@ the hook's buffer-local value rather than its default value."
|
|||
The value of the last form in BODY is returned.
|
||||
Each element of BINDERS is a list (SYMBOL VALUEFORM) which binds
|
||||
SYMBOL to the value of VALUEFORM.
|
||||
All symbols are bound before the VALUEFORMs are evalled."
|
||||
|
||||
The main difference between this macro and `let'/`let*' is that
|
||||
all symbols are bound before any of the VALUEFORMs are evalled."
|
||||
;; Only useful in lexical-binding mode.
|
||||
;; As a special-form, we could implement it more efficiently (and cleanly,
|
||||
;; making the vars actually unbound during evaluation of the binders).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue