diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-12-12 14:44:32 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-12-12 14:44:32 -0500 |
commit | a9db572bfa1a8290c59c51958bfad32f1807d096 (patch) | |
tree | 6ec612a91cf7987982a2c70851a896c223065444 | |
parent | 027fb5b49502ea810bfe29567b0728f2f9581992 (diff) | |
download | emacsconf-el-a9db572bfa1a8290c59c51958bfad32f1807d096.tar.xz emacsconf-el-a9db572bfa1a8290c59c51958bfad32f1807d096.zip |
add docstring for wait-until
-rw-r--r-- | emacsconf-spookfox.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacsconf-spookfox.el b/emacsconf-spookfox.el index 8b89282..2438c55 100644 --- a/emacsconf-spookfox.el +++ b/emacsconf-spookfox.el @@ -120,8 +120,9 @@ document.querySelector('.create-room-button').click();" (sleep-for 1)))) (defun emacsconf-spookfox-wait-until (condition) + "Wait until CONDITION is non-nil and not false." (while (member (spookfox-js-injection-eval-in-active-tab condition t) - '(:null :false)) + '(:null :false)) (sit-for 1))) (provide 'emacsconf-spookfox) |