summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2026-11-29 20:41:19 -0500
committerSacha Chua <sacha@sachachua.com>2026-11-29 20:41:19 -0500
commit39e21eec8845bc92313ac639cc8dda1dbe61c104 (patch)
tree771152d5d8d57bd3b334e0a5088359bd50a7dab5
parent1e8f7b3363f21ab0d53f23444712ce9000dfe9eb (diff)
downloademacsconf-el-39e21eec8845bc92313ac639cc8dda1dbe61c104.tar.xz
emacsconf-el-39e21eec8845bc92313ac639cc8dda1dbe61c104.zip
publish public files
-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))