[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108085: Fix bug #12138 with index
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108085: Fix bug #12138 with indexing "closures". |
Date: |
Mon, 06 Aug 2012 19:55:41 +0300 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 108085
fixes bug: http://debbugs.gnu.org/12138
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Mon 2012-08-06 19:55:41 +0300
message:
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".
modified:
doc/lispref/ChangeLog
doc/lispref/functions.texi
doc/lispref/variables.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2012-06-19 01:59:38 +0000
+++ b/doc/lispref/ChangeLog 2012-08-06 16:55:41 +0000
@@ -1,3 +1,11 @@
+2012-08-06 Eli Zaretskii <address@hidden>
+
+ * functions.texi (Closures): Put the main index entry for
+ "closures" here. (Bug#12138)
+
+ * variables.texi (Lexical Binding): Disambiguate the index entry
+ for "closures".
+
2012-06-19 Glenn Morris <address@hidden>
* Makefile.in: Rename infodir to buildinfodir throughout. (Bug#11737)
=== modified file 'doc/lispref/functions.texi'
--- a/doc/lispref/functions.texi 2012-06-11 06:48:47 +0000
+++ b/doc/lispref/functions.texi 2012-08-06 16:55:41 +0000
@@ -1115,8 +1115,9 @@
any anonymous function that you create using the @code{lambda} macro
or the @code{function} special form or the @code{#'} syntax
(@pxref{Anonymous Functions}), is automatically converted into a
-closure.
address@hidden
address@hidden closures
A closure is a function that also carries a record of the lexical
environment that existed when the function was defined. When it is
invoked, any lexical variable references within its definition use the
=== modified file 'doc/lispref/variables.texi'
--- a/doc/lispref/variables.texi 2012-05-15 15:43:06 +0000
+++ b/doc/lispref/variables.texi 2012-08-06 16:55:41 +0000
@@ -968,11 +968,11 @@
environment; if the variable is not specified in there, it looks in
the symbol's value cell, where the dynamic value is stored.
address@hidden closures
address@hidden closures, example of using
Lexical bindings have indefinite extent. Even after a binding
construct has finished executing, its lexical environment can be
``kept around'' in Lisp objects called @dfn{closures}. A closure is
-created when you create a named or anonymous function with lexical
+created when you define a named or anonymous function with lexical
binding enabled. @xref{Closures}, for details.
When a closure is called as a function, any lexical variable
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108085: Fix bug #12138 with indexing "closures".,
Eli Zaretskii <=