emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 5b3b7da: Say that while returns nil


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 5b3b7da: Say that while returns nil
Date: Thu, 1 Aug 2019 13:28:56 -0400 (EDT)

branch: master
commit 5b3b7da1684ac556f659c9187bab0d9f803b9097
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Say that while returns nil
    
    * src/eval.c (Fwhile): Say that while always returns nil
    (bug#22006).
---
 src/eval.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/eval.c b/src/eval.c
index 2e50743..cb9eb37 100644
--- 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)
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]