From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56356) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3gfu-0001hv-R2 for guix-patches@gnu.org; Mon, 17 Feb 2020 08:43:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3gft-0000d2-U1 for guix-patches@gnu.org; Mon, 17 Feb 2020 08:43:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60429) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3gft-0000cx-Qy for guix-patches@gnu.org; Mon, 17 Feb 2020 08:43:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3gft-0002Qh-Od for guix-patches@gnu.org; Mon, 17 Feb 2020 08:43:01 -0500 Subject: [bug#39642] [PATCH 2/3] ui: Don't disable colors when INSIDE_EMACS is set. References: <20200217134027.731-1-mail@ambrevar.xyz> In-Reply-To: <20200217134027.731-1-mail@ambrevar.xyz> Resent-Message-ID: From: Pierre Neidhardt Date: Mon, 17 Feb 2020 14:42:45 +0100 Message-Id: <20200217134246.2312-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39642@debbugs.gnu.org * 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