CVS update by aidan xemacs/man/lispref ...
xemacs-cvs at xemacs.org
xemacs-cvs at xemacs.org
Wed Jun 27 08:19:12 EDT 2007
User: aidan
Date: 07/06/27 14:19:12
Modified: xemacs/man/lispref variables.texi
Log:
Mention that lexical closures are actually available in XEmacs Lisp in the
Lisp reference manual.
Revision Changes Path
1.357 +6 -0 XEmacs/xemacs/man/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/man/ChangeLog,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -p -r1.356 -r1.357
--- ChangeLog 2007/05/21 11:39:55 1.356
+++ ChangeLog 2007/06/27 12:19:08 1.357
@@ -1,3 +1,9 @@
+2007-06-27 Aidan Kehoe <kehoea at parhasard.net>
+
+ * lispref/variables.texi (Extent):
+ Mention that lexical scope is available using lexical-let and
+ lexical-let* in cl-macs, instead of ignoring them entirely.
+
2007-05-21 Ville Skyttä <scop at xemacs.org>
* internals/internals.texi: Fix corrupted/oddly encoded chars.
1.9 +6 -2 XEmacs/xemacs/man/lispref/variables.texi
Index: variables.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/man/lispref/variables.texi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- variables.texi 2006/07/16 10:51:47 1.8
+++ variables.texi 2007/06/27 12:19:11 1.9
@@ -894,8 +894,12 @@ variable @code{n} is no longer bound to
@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
More information about the XEmacs-CVS
mailing list