guix-commits
[Top][All Lists]
Advanced

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

02/03: ui: Don't disable colors when INSIDE_EMACS is set.


From: guix-commits
Subject: 02/03: ui: Don't disable colors when INSIDE_EMACS is set.
Date: Mon, 24 Feb 2020 05:18:18 -0500 (EST)

ambrevar pushed a commit to branch master
in repository guix.

commit 672d3d4a87839b0692c307df0edb66cd16bcbf1a
Author: Pierre Neidhardt <address@hidden>
AuthorDate: Mon Feb 17 14:27:52 2020 +0100

    ui: Don't disable colors when INSIDE_EMACS is set.
    
    * 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 b63ac37..3031f54 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)



reply via email to

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