[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5b0d8d0: Further doc fixes for dotimes about RESULT
From: |
Lars Ingebrigtsen |
Subject: |
master 5b0d8d0: Further doc fixes for dotimes about RESULT |
Date: |
Wed, 30 Sep 2020 14:31:50 -0400 (EDT) |
branch: master
commit 5b0d8d0f288fd505ca90bd30df709a5e7ab540d6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Further doc fixes for dotimes about RESULT
* lisp/subr.el (dotimes): Be even more explicit about RESULT
(bug#16206).
---
lisp/subr.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 6f164ae..2dc23a4 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -279,8 +279,11 @@ Then evaluate RESULT to get return value, default nil.
(defmacro dotimes (spec &rest body)
"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.
+inclusive, to COUNT, exclusive.
+
+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.
\(fn (VAR COUNT [RESULT]) BODY...)"
(declare (indent 1) (debug dolist))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5b0d8d0: Further doc fixes for dotimes about RESULT,
Lars Ingebrigtsen <=