Say that while returns nil

* src/eval.c (Fwhile): Say that while always returns nil
(bug#22006).
This commit is contained in:
Lars Ingebrigtsen 2019-08-01 19:27:19 +02:00
parent e7c1fa96ba
commit 5b3b7da168

View file

@ -991,6 +991,9 @@ DEFUN ("while", Fwhile, Swhile, 1, UNEVALLED, 0,
doc: /* 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 value of a `while' form is always nil.
usage: (while TEST BODY...) */)
(Lisp_Object args)
{