diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-31 10:32:42 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-31 10:54:49 -0700 |
commit | 9429d4a235272c97635af1dfb3e686f4e0cddadd (patch) | |
tree | a4cb04a500cb361bbc7b95f7f843d495eff672fc /src/combinator.lisp | |
parent | d8a1aabd2a4313b0f4760d1279705de809ab0d14 (diff) | |
download | consfigurator-9429d4a235272c97635af1dfb3e686f4e0cddadd.tar.gz |
APPLY-AND-PRINT: try to avoid announcing internal DEFPROPs
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/combinator.lisp')
-rw-r--r-- | src/combinator.lisp | 14 |
1 files changed, 11 insertions, 3 deletions
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 |