]> git.eshelyaron.com Git - emacs.git/commitdiff
Delete confuse statement in manual
authorTino Calancha <tino.calancha@gmail.com>
Fri, 31 Mar 2017 08:17:07 +0000 (17:17 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 31 Mar 2017 08:17:07 +0000 (17:17 +0900)
* doc/misc/cl.texi (For Clauses): Delete confuse statement
and its example (Bug#23550).

doc/misc/cl.texi

index b672678dc8caf22640eaf3eafd1f27b5a8103409..b698c77032f6afe3e48b6f7dc56badcddc4c71f5 100644 (file)
@@ -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:
-
-@example
-(cl-loop for x on first-animal by 'next-animal collect x)
-@end example
-
-@noindent
-where @code{(next-animal x)} takes an ``animal'' @var{x} and returns
-the next in the (assumed) sequence of animals, or @code{nil} if
-@var{x} 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