aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/functions.texi
diff options
context:
space:
mode:
authorEli Zaretskii2012-08-06 19:55:41 +0300
committerEli Zaretskii2012-08-06 19:55:41 +0300
commita08eadfecc8651d6da2cdcb326d333545cb5f7c1 (patch)
tree79953e4646700898d1f4406f08d1a57d3b816f50 /doc/lispref/functions.texi
parent8d5dd3701caf1dac63e92ab04c1ca3d79cfcb18c (diff)
downloademacs-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.texi3
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
1115any anonymous function that you create using the @code{lambda} macro 1115any anonymous function that you create using the @code{lambda} macro
1116or the @code{function} special form or the @code{#'} syntax 1116or 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
1118closure. 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
1121environment that existed when the function was defined. When it is 1122environment that existed when the function was defined. When it is
1122invoked, any lexical variable references within its definition use the 1123invoked, any lexical variable references within its definition use the