From e8080e1b27388dc11cef9b72bd741d41ec58545e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 8 Nov 2023 16:23:37 -0500 Subject: always cache video data --- emacsconf-publish.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'emacsconf-publish.el') diff --git a/emacsconf-publish.el b/emacsconf-publish.el index 36a8e4c..95cfecc 100644 --- a/emacsconf-publish.el +++ b/emacsconf-publish.el @@ -1829,12 +1829,11 @@ This video is available under the terms of the Creative Commons Attribution-Shar result)) ;; (emacsconf-publish-video-description (emacsconf-find-talk-info "async") t) -(defun emacsconf-cache-all-video-data (&optional force) - (interactive (list current-prefix-arg)) +(defun emacsconf-cache-all-video-data () + (interactive) (mapc (lambda (talk) - (when (and (plist-get talk :file-prefix) - (or force (null (plist-get talk :video-file-size)))) + (when (plist-get talk :file-prefix) (emacsconf-publish-cache-video-data talk))) (emacsconf-get-talk-info))) ;; (emacsconf-cache-all-video-data t) -- cgit v1.2.3