From eb8298b38d24d9dd73ffc073d064b879d2159dfc Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 8 Apr 2021 13:17:02 -0700 Subject: APPLY-AND-RUN: disable output hiding when at debug level above 1 Signed-off-by: Sean Whitton --- src/combinator.lisp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/combinator.lisp') diff --git a/src/combinator.lisp b/src/combinator.lisp index b5fa8da..d2d02ff 100644 --- a/src/combinator.lisp +++ b/src/combinator.lisp @@ -117,8 +117,9 @@ apply the elements of REQUIREMENTS in reverse order." (propapps (remove-if #'null (if unapply (reverse propapps) propapps)))) (dolist (propapp propapps ret) - (let ((announce (not (get (get (car propapp) 'combinator) - 'inline-combinator)))) + (let ((announce (or (> 1 *consfigurator-debug-level*) + (not (get (get (car propapp) 'combinator) + 'inline-combinator))))) (multiple-value-bind (result output) ;; TODO Nested combinators can mean that we establish this ;; restart more than once, and they all appear in the debugger @@ -129,7 +130,8 @@ apply the elements of REQUIREMENTS in reverse order." (announce-propapp-apply propapp) (propapp-apply propapp)) (skip-property () :failed-change)) - (when (and output (not (eql result :no-change))) + (when (and output (or (> 1 *consfigurator-debug-level*) + (not (eql result :no-change)))) (fresh-line) (princ output)) (when announce -- cgit v1.2.3