all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19515: 24.4; Doc for cl-loop always clause
@ 2015-01-05 12:35 Johan Claesson
  2017-03-26 13:27 ` npostavs
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Claesson @ 2015-01-05 12:35 UTC (permalink / raw)
  To: 19515



Hi,

The info doc for the cl-loop clause "always CONDITION" have the
following example: 

(if (cl-loop for size in size-list always (> size 10))
    (some-big-sizes)
  (no-big-sizes))

I think the names of the subroutines some-big-sizes and no-big-sizes are
misleading.  It should be something like:

(if (cl-loop for size in size-list always (> size 10))
    (only-big-sizes)
  (some-small-sizes))

The example starts on line 2227 in cl.texi.

Regards,

/Johan




In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2014-10-26 on goblin
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.1 LTS






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#19515: 24.4; Doc for cl-loop always clause
  2015-01-05 12:35 bug#19515: 24.4; Doc for cl-loop always clause Johan Claesson
@ 2017-03-26 13:27 ` npostavs
  0 siblings, 0 replies; 2+ messages in thread
From: npostavs @ 2017-03-26 13:27 UTC (permalink / raw)
  To: Johan Claesson; +Cc: 19515

tags 19515 fixed
close 19515 25.2
quit

Johan Claesson <johanclaesson@bredband.net> writes:

>
> I think the names of the subroutines some-big-sizes and no-big-sizes are
> misleading.  It should be something like:
>
> (if (cl-loop for size in size-list always (> size 10))
>     (only-big-sizes)
>   (some-small-sizes))

Yup, pushed to emacs-25 [1: afe8849bac].

1: 2017-03-26 09:14:15 -0400 afe8849bac1ec228680bcb590da6313800067d34
  * doc/misc/cl.texi (Iteration Clauses): Clarify example (Bug#19515).





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-26 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 12:35 bug#19515: 24.4; Doc for cl-loop always clause Johan Claesson
2017-03-26 13:27 ` npostavs

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.