Skip to content

Commit

Permalink
WIP fix checkdoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
telotortium committed Jul 9, 2022
1 parent 82f4421 commit 649ebb2
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 78 deletions.
13 changes: 7 additions & 6 deletions aio-iter2.el
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
(require 'rx)

(defmacro aio-iter2-lambda (arglist &rest body)
"Like `lambda', but defines an async function.
"Like `lambda', but define an async function.
The body of this function may use `aio-await' to wait on
promises. When an async function is called, it immediately
returns a promise that will resolve to the function's return
value, or any uncaught error signal.
ARGLIST and BODY are as in ‘lambda’. The body of this function may use
`aio-await' to wait on promises. When an async function is called, it
immediately returns a promise that will resolve to the function's return value,
or any uncaught error signal.
Replacement of `aio-lambda` that uses `iter2-lambda` instead
of `iter-lambda`."
Expand All @@ -53,7 +53,8 @@ of `iter-lambda`."
(aio--step iter ,promise nil))))))

(defmacro aio-iter2-defun (name arglist &rest body)
"Like `aio-iter2-lambda' but gives the function a name like `defun'."
"Like `aio-iter2-lambda' but gives the function a name like `defun'.
NAME, ARGLIST, and BODY are as in ‘defun’."
(declare (indent defun)
(doc-string 3)
(debug (&define name lambda-list &rest sexp)))
Expand Down
Loading

0 comments on commit 649ebb2

Please sign in to comment.