GNU bug report logs - #19515
24.4; Doc for cl-loop always clause

Previous Next

Package: emacs;

Reported by: Johan Claesson <johanclaesson <at> bredband.net>

Date: Mon, 5 Jan 2015 12:37:02 UTC

Severity: minor

Tags: fixed

Found in version 24.4

Fixed in version 25.2

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johan Claesson <johanclaesson <at> bredband.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; Doc for cl-loop always clause
Date: Mon, 05 Jan 2015 13:35:35 +0100

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





This bug report was last modified 8 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.