From 9429d4a235272c97635af1dfb3e686f4e0cddadd Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 31 May 2021 10:32:42 -0700 Subject: APPLY-AND-PRINT: try to avoid announcing internal DEFPROPs Signed-off-by: Sean Whitton --- src/combinator.lisp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/combinator.lisp') diff --git a/src/combinator.lisp b/src/combinator.lisp index 6858790..0403c96 100644 --- a/src/combinator.lisp +++ b/src/combinator.lisp @@ -120,9 +120,17 @@ apply the elements of REQUIREMENTS in reverse order." (with-indented-inform (propapp-apply propapp))))) (dolist (propapp propapps return-value) - (let ((announce (or (> *consfigurator-debug-level* 1) - (not (get (get (car propapp) 'combinator) - 'inline-combinator)))) + (let ((announce + (or (> *consfigurator-debug-level* 1) + (and + (not (get (get (car propapp) 'combinator) + 'inline-combinator)) + ;; We don't announce properties whose names begin with + ;; '%' and which have no description; these are typically + ;; DEFPROPs which exist only for use within a + ;; DEFPROPLIST/DEFPROPSPEC defining an exported property. + (not (and (char= #\% (char (symbol-name (car propapp)) 0)) + (not (get (car propapp) 'desc))))))) result) (unwind-protect-in-parent ;; TODO Nested combinators can mean that we establish this -- cgit v1.2.3