aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/guile.texi
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-01-13 22:50:51 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-01-13 22:50:51 +0100
commit641278c624a3a0c06856656255f648f2cf4f6a92 (patch)
tree49c47c4c61dd0704e89cfd75681bc16f171e7ad5 /doc/ref/guile.texi
parentAdd debug buttons in popup for dumping xcal and jcal. (diff)
parentDocument (vcompenent control). (diff)
downloadcalp-641278c624a3a0c06856656255f648f2cf4f6a92.tar.gz
calp-641278c624a3a0c06856656255f648f2cf4f6a92.tar.xz
Merge branch 'doc' into jcal
Diffstat (limited to 'doc/ref/guile.texi')
-rw-r--r--doc/ref/guile.texi17
1 files changed, 17 insertions, 0 deletions
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