Browse Source

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

* guix/colors.scm (color-output?): Remove INSIDE_EMACS condition.
gn-latest-20200428
Pierre Neidhardt 1 year ago
parent
commit
672d3d4a87
No known key found for this signature in database GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      guix/colors.scm

+ 1
- 2
guix/colors.scm View File

@ -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)


Loading…
Cancel
Save