GNU bug report logs -
#22006
24.5; Documentation string for while
Previous Next
Reported by: phs <at> lsv.fr
Date: Tue, 24 Nov 2015 21:34:02 UTC
Severity: minor
Tags: fixed
Found in version 24.5
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
phs <phs <at> lsv.fr> writes:
> M-h f while
>
> returns:
>
> "while is a special form in `C source code'.
>
> (while TEST BODY...)
>
> If TEST yields non-nil, eval BODY... and repeat.
> The order of execution is thus TEST, BODY, TEST, BODY and so on
> until TEST returns nil."
>
> The documentation does not say that the form itself returns nil.
(I'm going through old bug reports that have unfortunately not gotten
any responses.)
The manual does:
The value of a @code{while} form is always @code{nil}.
So I guess the doc string should, too. I've now made this change in
Emacs 27.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 299 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.