diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2020-02-17 14:27:52 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2020-02-24 11:01:52 +0100 |
commit | 672d3d4a87839b0692c307df0edb66cd16bcbf1a (patch) | |
tree | 5bca416e018238c868ddecfed15ccea9906b79b8 | |
parent | d7545a6b538813e88195d084f75a3e87065c999e (diff) | |
download | guix-672d3d4a87839b0692c307df0edb66cd16bcbf1a.tar.gz |
ui: Don't disable colors when INSIDE_EMACS is set.
* guix/colors.scm (color-output?): Remove INSIDE_EMACS condition.
-rw-r--r-- | guix/colors.scm | 3 |
1 files changed, 1 insertions, 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) |