aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ref/calp.texi1
-rw-r--r--doc/ref/guile.texi17
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/ref/calp.texi b/doc/ref/calp.texi
index e280a455..e5c4baab 100644
--- a/doc/ref/calp.texi
+++ b/doc/ref/calp.texi
@@ -58,6 +58,7 @@ text @footnote{Improvements welcome}
@c * Index::
@c @end menu
+@include guile.texi
@include javascript.texi
@node Index
diff --git a/doc/ref/guile.texi b/doc/ref/guile.texi
new file mode 100644
index 00000000..8468021e
--- /dev/null
+++ b/doc/ref/guile.texi
@@ -0,0 +1,17 @@
+@node Guile
+@chapter Guile
+
+@c TODO
+This chapter will probably in the future be replaced by a proper
+system overview in the future.
+
+@c module (vcomponent control)
+
+@defmac with-replaced-properties (component (key value) ...) body ...
+Through the extent of @var{body} each @var{key}'s value in
+@var{component} is replaced by its repspective @var{value}.
+
+Note that @var{body} is guarded through a dynamic-wind, meaning that
+even non-local exits will restore @var{component} to its initial
+state.
+@end defmac