summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-12-12 14:44:32 -0500
committerSacha Chua <sacha@sachachua.com>2023-12-12 14:44:32 -0500
commita9db572bfa1a8290c59c51958bfad32f1807d096 (patch)
tree6ec612a91cf7987982a2c70851a896c223065444
parent027fb5b49502ea810bfe29567b0728f2f9581992 (diff)
downloademacsconf-el-a9db572bfa1a8290c59c51958bfad32f1807d096.tar.xz
emacsconf-el-a9db572bfa1a8290c59c51958bfad32f1807d096.zip
add docstring for wait-until
Diffstat (limited to '')
-rw-r--r--emacsconf-spookfox.el3
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)