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 896380af..0d9c16c5 100644
--- a/match.c
+++ b/match.c
@@ -2844,7 +2844,7 @@ static val v_fun(match_files_ctx *c)
val sym = first(first_spec);
val func = car(uw_get_func(sym));
- if (func) {
+ if (func && !rest(specline)) {
val args = rest(first_spec);
val params = car(func);
val ub_p_a_pairs = nil;