From a9db572bfa1a8290c59c51958bfad32f1807d096 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Tue, 12 Dec 2023 14:44:32 -0500 Subject: add docstring for wait-until --- emacsconf-spookfox.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3