summaryrefslogtreecommitdiff
path: root/www/build-site.el
diff options
context:
space:
mode:
Diffstat (limited to 'www/build-site.el')
-rw-r--r--www/build-site.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/build-site.el b/www/build-site.el
index cac2525..575bfe2 100644
--- a/www/build-site.el
+++ b/www/build-site.el
@@ -2,9 +2,12 @@
( require 'ox-publish )
-( setq build-publication
+( defun publication-builder ()
( let ( ( report-success "Build complete!" ) )
( lambda ()
- ( message report-success ) ) ) )
+ ( message report-success )
+ ( ) ) ) )
-( funcall build-publication )
+( defvar publish ( publication-builder ) )
+
+( funcall publish )