aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/cl.texi9
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 3738301ceea..9687f474286 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12010-07-10 Kevin Ryde <user42@zip.com.au>
2
3 * cl.texi (For Clauses): Add destructuring example processing an
4 alist (bug#6596).
5
12011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> 62011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * org.texi (Special agenda views): Fix double quoting (bug#3509). 8 * org.texi (Special agenda views): Fix double quoting (bug#3509).
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index ab54b99138a..3f3d616e343 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -2586,7 +2586,14 @@ the trailing values are ignored, and if there are more variables
2586than values the trailing variables get the value @code{nil}. 2586than values the trailing variables get the value @code{nil}.
2587If @code{nil} is used as a variable name, the corresponding 2587If @code{nil} is used as a variable name, the corresponding
2588values are ignored. Destructuring may be nested, and dotted 2588values are ignored. Destructuring may be nested, and dotted
2589lists of variables like @code{(x . y)} are allowed. 2589lists of variables like @code{(x . y)} are allowed, so for example
2590to process an alist
2591
2592@example
2593(loop for (key . value) in '((a . 1) (b . 2))
2594 collect value)
2595 @result{} (1 2)
2596@end example
2590 2597
2591@node Iteration Clauses, Accumulation Clauses, For Clauses, Loop Facility 2598@node Iteration Clauses, Accumulation Clauses, For Clauses, Loop Facility
2592@subsection Iteration Clauses 2599@subsection Iteration Clauses