[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dotimes-with-progress-reporter doc string lacks SPEC
From: |
David Kastrup |
Subject: |
Re: dotimes-with-progress-reporter doc string lacks SPEC |
Date: |
Thu, 06 Jul 2006 23:40:58 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Mathias Dahl" <address@hidden> writes:
>> Well, the same applies to `dotimes'.
>
> This is interesting. Here is the source for the `dotimes' macro:
>
> (defmacro dotimes (spec &rest body)
> "Loop a certain number of times.
> Evaluate BODY with VAR bound to successive integers from 0, inclusive,
> to COUNT, exclusive. Then evaluate RESULT to get return value, default
> nil.
>
> \(fn (VAR COUNT [RESULT]) BODY...)"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> When loaded (or is it compiled?) though (I just made a dummy call to
> it), the documentation string says this:
>
> dotimes is a Lisp macro in `cl-macs'.
> (dotimes (VAR COUNT [RESULT]) BODY...)
> Not mentioning any `spec' at all.
>
> Anyone care to explain this magic?
See above.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Re: dotimes-with-progress-reporter doc string lacks SPEC, Richard Stallman, 2006/07/07