[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 3f0d047: Delete confuse statement in manual
From: |
Tino Calancha |
Subject: |
[Emacs-diffs] emacs-25 3f0d047: Delete confuse statement in manual |
Date: |
Fri, 31 Mar 2017 04:18:03 -0400 (EDT) |
branch: emacs-25
commit 3f0d047d2eb1fb59be2ff962c01392d8c808a654
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>
Delete confuse statement in manual
* doc/misc/cl.texi (For Clauses): Delete confuse statement
and its example (Bug#23550).
---
doc/misc/cl.texi | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index b672678..b698c77 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -1966,18 +1966,6 @@ This clause iterates @var{var} over all the cons cells
of @var{list}.
@result{} ((1 2 3 4) (2 3 4) (3 4) (4))
@end example
-With @code{by}, there is no real reason that the @code{on} expression
-must be a list. For example:
-
address@hidden
-(cl-loop for x on first-animal by 'next-animal collect x)
address@hidden example
-
address@hidden
-where @code{(next-animal x)} takes an ``animal'' @var{x} and returns
-the next in the (assumed) sequence of animals, or @code{nil} if
address@hidden was the last animal in the sequence.
-
@item for @var{var} in-ref @var{list} by @var{function}
This is like a regular @code{in} clause, but @var{var} becomes
a @code{setf}-able ``reference'' onto the elements of the list
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 3f0d047: Delete confuse statement in manual,
Tino Calancha <=