summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmamut.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmamut.lisp b/cmamut.lisp
index 4306cbe..8e43557 100644
--- a/cmamut.lisp
+++ b/cmamut.lisp
@@ -247,7 +247,8 @@
(spec-composite spec)))))
(functions (mapcar (lambda (x) (cook-function x type-associations))
(if function-filter
- (remove-if-not function-filter (spec-functions spec))
+ (remove-if-not (lambda (x) (funcall function-filter (gethash "name" x)))
+ (spec-functions spec))
(spec-functions spec)))))
(remove-duplicates (concatenate 'list consts enums composite functions) :test #'equal))))