summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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)