summaryrefslogtreecommitdiff
path: root/src/guile
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile')
-rw-r--r--src/guile/skribilo/ast.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guile/skribilo/ast.scm b/src/guile/skribilo/ast.scm
index 8dee4d8..d71ec31 100644
--- a/src/guile/skribilo/ast.scm
+++ b/src/guile/skribilo/ast.scm
@@ -517,6 +517,8 @@
(fold loop result ast))
((node? ast)
(loop (node-body ast) (proc ast result)))
+ ((command? ast)
+ (loop (command-body ast) (proc ast result)))
(else result))))