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/functions.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/functions.texi')
| -rw-r--r-- | doc/lispref/functions.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 5958d56686d..f1ad252f294 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -1115,8 +1115,9 @@ named function that you create (e.g.@: with @code{defun}), as well as | |||
| 1115 | any anonymous function that you create using the @code{lambda} macro | 1115 | any anonymous function that you create using the @code{lambda} macro |
| 1116 | or the @code{function} special form or the @code{#'} syntax | 1116 | or the @code{function} special form or the @code{#'} syntax |
| 1117 | (@pxref{Anonymous Functions}), is automatically converted into a | 1117 | (@pxref{Anonymous Functions}), is automatically converted into a |
| 1118 | closure. | 1118 | @dfn{closure}. |
| 1119 | 1119 | ||
| 1120 | @cindex closures | ||
| 1120 | A closure is a function that also carries a record of the lexical | 1121 | A closure is a function that also carries a record of the lexical |
| 1121 | environment that existed when the function was defined. When it is | 1122 | environment that existed when the function was defined. When it is |
| 1122 | invoked, any lexical variable references within its definition use the | 1123 | invoked, any lexical variable references within its definition use the |