guix-patches
[Top][All Lists]
Advanced

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

[bug#39642] [PATCH 2/3] ui: Don't disable colors when INSIDE_EMACS is se


From: Pierre Neidhardt
Subject: [bug#39642] [PATCH 2/3] ui: Don't disable colors when INSIDE_EMACS is set.
Date: Mon, 17 Feb 2020 14:42:45 +0100

* guix/colors.scm (color-output?): Remove INSIDE_EMACS condition.
---
 guix/colors.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guix/colors.scm b/guix/colors.scm
index b63ac37027..3031f54799 100644
--- a/guix/colors.scm
+++ b/guix/colors.scm
@@ -131,8 +131,7 @@ that subsequent output will not have any colors in effect."
 
 (define (color-output? port)
   "Return true if we should write colored output to PORT."
-  (and (not (getenv "INSIDE_EMACS"))
-       (not (getenv "NO_COLOR"))
+  (and (not (getenv "NO_COLOR"))
        (isatty?* port)))
 
 (define (coloring-procedure color)
-- 
2.25.0






reply via email to

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