]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/variables.texi
Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org.
[gnu-emacs] / doc / lispref / variables.texi
index affaff46ff90b12f4a9bcdebfa1d37c9d3da501a..3b078e7e19f2388bd5e17fe73166dd5c23225f6c 100644 (file)
@@ -967,11 +967,11 @@ wants the current value of a variable, it looks first in the lexical
 environment; if the variable is not specified in there, it looks in
 the symbol's value cell, where the dynamic value is stored.
 
-@cindex closures
+@cindex 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