diff options
| author | Eli Zaretskii | 2012-08-06 19:55:41 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-08-06 19:55:41 +0300 |
| commit | a08eadfecc8651d6da2cdcb326d333545cb5f7c1 (patch) | |
| tree | 79953e4646700898d1f4406f08d1a57d3b816f50 /doc/lispref/variables.texi | |
| parent | 8d5dd3701caf1dac63e92ab04c1ca3d79cfcb18c (diff) | |
| download | emacs-a08eadfecc8651d6da2cdcb326d333545cb5f7c1.tar.gz emacs-a08eadfecc8651d6da2cdcb326d333545cb5f7c1.zip | |
Fix bug #12138 with indexing "closures".
doc/lispref/functions.texi (Closures): Put the main index entry for
"closures" here.
doc/lispref/variables.texi (Lexical Binding): Disambiguate the index entry
for "closures".
Diffstat (limited to 'doc/lispref/variables.texi')
| -rw-r--r-- | doc/lispref/variables.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 93fb4d5f873..5745b487942 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -968,11 +968,11 @@ wants the current value of a variable, it looks first in the lexical | |||
| 968 | environment; if the variable is not specified in there, it looks in | 968 | environment; if the variable is not specified in there, it looks in |
| 969 | the symbol's value cell, where the dynamic value is stored. | 969 | the symbol's value cell, where the dynamic value is stored. |
| 970 | 970 | ||
| 971 | @cindex closures | 971 | @cindex closures, example of using |
| 972 | Lexical bindings have indefinite extent. Even after a binding | 972 | Lexical bindings have indefinite extent. Even after a binding |
| 973 | construct has finished executing, its lexical environment can be | 973 | construct has finished executing, its lexical environment can be |
| 974 | ``kept around'' in Lisp objects called @dfn{closures}. A closure is | 974 | ``kept around'' in Lisp objects called @dfn{closures}. A closure is |
| 975 | created when you create a named or anonymous function with lexical | 975 | created when you define a named or anonymous function with lexical |
| 976 | binding enabled. @xref{Closures}, for details. | 976 | binding enabled. @xref{Closures}, for details. |
| 977 | 977 | ||
| 978 | When a closure is called as a function, any lexical variable | 978 | When a closure is called as a function, any lexical variable |