[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/async 9ff4d18 12/60: Revert renaming of async-wait to a
From: |
Stefan Monnier |
Subject: |
[elpa] externals/async 9ff4d18 12/60: Revert renaming of async-wait to async--wait (#71). |
Date: |
Tue, 8 Oct 2019 10:11:28 -0400 (EDT) |
branch: externals/async
commit 9ff4d182513dfaebc6550b032654e6bce4c9255e
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
Revert renaming of async-wait to async--wait (#71).
* async.el (async-wait): Do it.
(async-get): Do it.
(async-start): Do it.
---
async.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/async.el b/async.el
index 610dd75..c38c32e 100644
--- a/async.el
+++ b/async.el
@@ -180,7 +180,7 @@ would result from a call to `async-get' on that FUTURE."
async-callback-value-set)
t))))
-(defun async--wait (future)
+(defun async-wait (future)
"Wait for FUTURE to become ready."
(while (not (async-ready future))
(sit-for 0.05)))
@@ -189,7 +189,7 @@ would result from a call to `async-get' on that FUTURE."
"Get the value from process FUTURE when it is ready.
FUTURE is returned by `async-start' or `async-start-process' when
its FINISH-FUNC is nil."
- (and future (async--wait future))
+ (and future (async-wait future))
(let ((buf (process-buffer future)))
(when (buffer-live-p buf)
(with-current-buffer buf
@@ -278,7 +278,7 @@ Note: Even when FINISH-FUNC is present, a future is still
returned except that it yields no value (since the value is
passed to FINISH-FUNC). Call `async-get' on such a future always
returns nil. It can still be useful, however, as an argument to
-`async-ready'."
+`async-ready' or `async-wait'."
(let ((sexp start-func)
;; Subordinate Emacs will send text encoded in UTF-8.
(coding-system-for-read 'utf-8-unix))
- [elpa] externals/async updated (1794ea4 -> f61f1db), Stefan Monnier, 2019/10/08
- [elpa] externals/async 5813c24 04/60: Add some string escapes, Stefan Monnier, 2019/10/08
- [elpa] externals/async 0190fb8 05/60: Allow passing any value to async-let bindings., Stefan Monnier, 2019/10/08
- [elpa] externals/async 9ff4d18 12/60: Revert renaming of async-wait to async--wait (#71).,
Stefan Monnier <=
- [elpa] externals/async d1273c8 13/60: Using sleep-for instead of sit-for in async-wait prevent infloop (#71)., Stefan Monnier, 2019/10/08
- [elpa] externals/async 8bc0678 01/60: Fix home url in *pkg.el., Stefan Monnier, 2019/10/08
- [elpa] externals/async a2196f7 03/60: Add `async-let' macro, Stefan Monnier, 2019/10/08
- [elpa] externals/async 1dd865c 09/60: Add some documentation in README for async-let., Stefan Monnier, 2019/10/08
- [elpa] externals/async 57f5d81 06/60: Allow passing multiple forms to async-let, Stefan Monnier, 2019/10/08
- [elpa] externals/async 31b1691 02/60: Don't query in set-visited-file-name., Stefan Monnier, 2019/10/08
- [elpa] externals/async 8242878 08/60: Merge pull request #69 from jwiegley/async_let, Stefan Monnier, 2019/10/08
- [elpa] externals/async 2018523 15/60: Inject nsm-* vars in smtp-mail for emacs-25+ (#75)., Stefan Monnier, 2019/10/08
- [elpa] externals/async 666066d 14/60: Merge pull request #72 from jwiegley/Fix_async_ready, Stefan Monnier, 2019/10/08
- [elpa] externals/async 54977d6 10/60: Improve formatting in README., Stefan Monnier, 2019/10/08