summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacsconf-publish.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacsconf-publish.el b/emacsconf-publish.el
index 06f2d05..ebf27bd 100644
--- a/emacsconf-publish.el
+++ b/emacsconf-publish.el
@@ -2854,6 +2854,14 @@ The live Q&A room for ${title} is now open. You should be redirected to <a href=
There is no live Q&A room for ${title}. You can find more information about the talk at <a href=\"${base-url}${url}\">${base-url}${url}</a>.</body></html>"
)))))))
+(defun emacsconf-publish-public-files ()
+ "Publish updated files."
+ (interactive)
+ (mapc (lambda (o)
+ (when (plist-get o :public)
+ (emacsconf-publish-media-files-on-change o)))
+ (emacsconf-get-talk-info)))
+
(defun emacsconf-publish-media-files-on-change (talk &optional always-update)
"Publish the files and update the index."
(interactive (list (emacsconf-complete-talk-info) current-prefix-arg))