From 844f664050509637312524cc91e6d4940b4f51b0 Mon Sep 17 00:00:00 2001 From: EmacsConf Date: Fri, 1 Dec 2023 20:05:09 -0500 Subject: also check actual file --- emacsconf-publish.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacsconf-publish.el b/emacsconf-publish.el index 650173b..d590dc6 100644 --- a/emacsconf-publish.el +++ b/emacsconf-publish.el @@ -347,7 +347,8 @@ (file-name-nondirectory video-file))) :captions (and (stringp video-file) - (plist-get talk :captions-edited) + (or (plist-get talk :captions-edited) + (emacsconf-captions-edited-p (expand-file-name (emacsconf-talk-file talk "--main.vtt") emacsconf-cache-dir))) (let ((tracks (emacsconf-video-subtitle-tracks (or (plist-get talk :caption-file) -- cgit v1.2.3