fix(cli): debug output despite no debug-mode
Let's not fall back on original `message` function, at the end of `with-output-to!`s advice stack.
This commit is contained in:
parent
869852aed9
commit
46d99917ba
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ based on the print level of the message. For example:
|
|||
(lambda (message &rest args)
|
||||
(when message
|
||||
(let ((output (apply #'doom-print--format message args)))
|
||||
(if (= doom-print--output-depth 0)
|
||||
(if (<= doom-print--output-depth 1)
|
||||
(doom-print output :level level :stream t)
|
||||
(let ((doom-print--output-depth (1- doom-print--output-depth)))
|
||||
(funcall old "%s" output)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue