emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/buttercup 42df1faa65: Disable ANSI color sequences in butt


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup 42df1faa65: Disable ANSI color sequences in buttercup-reporter-interactive
Date: Sun, 19 Jun 2022 18:58:04 -0400 (EDT)

branch: elpa/buttercup
commit 42df1faa653f2765941f478167dafac059dc3a57
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>

    Disable ANSI color sequences in buttercup-reporter-interactive
    
    buttercup-reporter-interactive just inserts the output from
    buttercup-reporter-batch into an Emacs buffer.  There is nothing in
    place to handle color sequences. Disable colors for now.
---
 buttercup.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/buttercup.el b/buttercup.el
index 7033c3a198..d6de25b908 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1934,7 +1934,8 @@ EVENT and ARG are described in `buttercup-reporter'."
                                     (goto-char (point-max))
                                     (insert (apply 'format fmt args))))))
       (unwind-protect
-          (buttercup-reporter-batch event arg)
+          (let ((buttercup-color))
+            (buttercup-reporter-batch event arg))
         (fset 'buttercup--print old-print)))
     (let ((w (get-buffer-window (current-buffer))))
       (when w



reply via email to

[Prev in Thread] Current Thread [Next in Thread]