aboutsummaryrefslogtreecommitdiff
path: root/src/combinator.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-05-31 10:32:42 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-05-31 10:54:49 -0700
commit9429d4a235272c97635af1dfb3e686f4e0cddadd (patch)
treea4cb04a500cb361bbc7b95f7f843d495eff672fc /src/combinator.lisp
parentd8a1aabd2a4313b0f4760d1279705de809ab0d14 (diff)
downloadconsfigurator-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.lisp14
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