diff man/lispref/variables.texi @ 4039:effcad8baac1

[xemacs-hg @ 2007-06-27 12:19:08 by aidan] Mention that lexical closures are actually available in XEmacs Lisp in the Lisp reference manual.
author aidan
date Wed, 27 Jun 2007 12:19:11 +0000
parents 06a586083be3
children 57db42ba54fb
line wrap: on
line diff
--- a/man/lispref/variables.texi	Tue Jun 26 21:51:52 2007 +0000
+++ b/man/lispref/variables.texi	Wed Jun 27 12:19:11 2007 +0000
@@ -894,8 +894,12 @@
 
 @cindex closures not available
   Some Lisp dialects have ``closures'', objects that are like functions
-but record additional variable bindings.  XEmacs Lisp does not have
-closures.
+but record additional variable bindings.  Closures are available in
+XEmacs Lisp using the @code{lexical-let} and @code{lexical-let*}macroes,
+which are autoloaded from @file{cl-macs}.  @xref{(cl)Lexical Bindings}.
+Note that function arguments cannot be closed around using these
+macros, and that any lambda expressions returned will not be
+byte-compiled.  
 
 @node Impl of Scope
 @subsection Implementation of Dynamic Scoping