diff options
| author | Paul Eggert | 2011-07-13 23:41:47 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-13 23:41:47 -0700 |
| commit | cf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e (patch) | |
| tree | 1bdb0fd052770b8c3b0c6ea83fb7c6a9bfdd5b85 /doc/misc | |
| parent | ca4aa9359160557f8103639fc3c0ccb16c6ba8d2 (diff) | |
| parent | 27fa387ad10e6a5639de1ab08e7559c06e9d802d (diff) | |
| download | emacs-cf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e.tar.gz emacs-cf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e.zip | |
Merge from trunk.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 9 |
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 @@ | |||
| 1 | 2010-07-10 Kevin Ryde <user42@zip.com.au> | ||
| 2 | |||
| 3 | * cl.texi (For Clauses): Add destructuring example processing an | ||
| 4 | alist (bug#6596). | ||
| 5 | |||
| 1 | 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2011-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 | |||
| 2586 | than values the trailing variables get the value @code{nil}. | 2586 | than values the trailing variables get the value @code{nil}. |
| 2587 | If @code{nil} is used as a variable name, the corresponding | 2587 | If @code{nil} is used as a variable name, the corresponding |
| 2588 | values are ignored. Destructuring may be nested, and dotted | 2588 | values are ignored. Destructuring may be nested, and dotted |
| 2589 | lists of variables like @code{(x . y)} are allowed. | 2589 | lists of variables like @code{(x . y)} are allowed, so for example |
| 2590 | to 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 |