[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45715: 27.1; Doc string of `dotimes'
From: |
Noam Postavsky |
Subject: |
bug#45715: 27.1; Doc string of `dotimes' |
Date: |
Mon, 11 Jan 2021 08:16:45 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Drew Adams <drew.adams@oracle.com> writes:
>
>> Loop a certain number of times.
>> Evaluate BODY with VAR bound to successive integers running from 0,
>> inclusive, to COUNT, exclusive. Then evaluate RESULT to get the
>> return value (nil if RESULT is omitted). Its use is deprecated.
>> ^^^
>>
>> In the last sentence, "its" is unclear.
>
> Indeed, which is why it's
>
> ---
> Finally RESULT is evaluated to get the return value (nil if
> RESULT is omitted). Using RESULT is deprecated, and may result
> in compilation warnings about unused variables.
> ---
>
> in Emacs 28.
Also, I've backported that change to emacs-27, so it will show up in
27.2.
[1: 9d02e6c5ff]: 2020-11-18 15:45:48 -0500
Further doc fixes for dotimes about RESULT
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9d02e6c5ff2a8af78ca8a2c934970f8a46dcef55