about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guile/skribilo/engine/html.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/guile/skribilo/engine/html.scm b/src/guile/skribilo/engine/html.scm
index 4a9f99f..42f18b2 100644
--- a/src/guile/skribilo/engine/html.scm
+++ b/src/guile/skribilo/engine/html.scm
@@ -58,6 +58,14 @@
 (if (not (engine? base-engine))
     (error "bootstrap problem: base engine broken" base-engine))
 
+(define unspecified?
+  ;; XXX: Hack to recognize the unspecified value as understood by
+  ;; `engine-custom' et al.
+  (let ((really-unspecified? unspecified?))
+    (lambda (x)
+      (or (really-unspecified? x)
+          (eq? x 'unspecified)))))
+
 ;*---------------------------------------------------------------------*/
 ;*    html-file-default ...                                            */
 ;*---------------------------------------------------------------------*/