summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index 2c6d2295..cf5ab22c 100644
--- a/match.c
+++ b/match.c
@@ -1411,7 +1411,7 @@ static val subst_vars(val spec, val bindings, val filter)
continue;
} else if (sym == expr_s) {
val result = eval(rest(elem), make_env(bindings, nil, nil), elem);
- spec = cons(format(nil, lit("~a"), result, nao), rest(spec));
+ spec = cons(filter_string_tree(filter, tostringp(result)), rest(spec));
continue;
} else {
val nested = subst_vars(elem, bindings, filter);