diff mbox series

[bug#39642,2/3] ui: Don't disable colors when INSIDE_EMACS is set.

Message ID 20200217134246.2312-1-mail@ambrevar.xyz
State Accepted
Headers show
Series [bug#39642,1/3] ui: Only display link in capable terminals. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Pierre Neidhardt Feb. 17, 2020, 1:42 p.m. UTC
* guix/colors.scm (color-output?): Remove INSIDE_EMACS condition.
---
 guix/colors.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

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)