diff options
Diffstat (limited to 'emacsconf-stream.el')
-rw-r--r-- | emacsconf-stream.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/emacsconf-stream.el b/emacsconf-stream.el index 26586b2..fd1395a 100644 --- a/emacsconf-stream.el +++ b/emacsconf-stream.el @@ -145,15 +145,15 @@ while OTHER-FILENAME will be displayed at other times." (plist-get talk :overlay-url) (plist-get talk :overlay-bottom))))) -(defun emacsconf-stream-update-talk-info-org-after-todo-state-change () +(defun emacsconf-stream-update-talk-info-on-change (talk) "Update talk info." (when (string= org-state "PLAYING") - (emacsconf-stream-set-talk-info (emacsconf-get-talk-info-for-subtree)))) + (emacsconf-stream-set-talk-info talk))) -(defun emacsconf-stream-play-talk-org-after-todo-state-change () +(defun emacsconf-stream-play-talk-on-change (talk) "Play the talk." (when (string= org-state "PLAYING") - (emacsconf-stream-play-video (emacsconf-get-talk-info-for-subtree)))) + (emacsconf-stream-play-video talk))) (defun emacsconf-stream-get-filename (talk) "Return the local filename for the video file for TALK. |