mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)))
|
||||
|
Reference in New Issue
Block a user