projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c1fa9
)
Say that while returns nil
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 1 Aug 2019 17:27:19 +0000
(19:27 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 1 Aug 2019 17:28:43 +0000
(19:28 +0200)
* src/eval.c (Fwhile): Say that while always returns nil
(bug#22006).
src/eval.c
patch
|
blob
|
history
diff --git
a/src/eval.c
b/src/eval.c
index 2e5074360d5b9414e6a861dff4a3cefce057f1ac..cb9eb37b56967f233ab9b4afbc9ee131336c327c 100644
(file)
--- a/
src/eval.c
+++ b/
src/eval.c
@@
-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)
{