summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-08-24 20:09:38 +0200
committerUlrich Müller <ulm@gentoo.org>2023-08-24 20:09:38 +0200
commit9bcbf85e4a48214ed79f951db34b363a42b8d556 (patch)
treec2984fd13e1e894900c195aba52aebcb827bc99a
parentUpdate sh-must-be-shell-mode fix (diff)
downloadebuild-mode-9bcbf85e4a48214ed79f951db34b363a42b8d556.tar.gz
ebuild-mode-9bcbf85e4a48214ed79f951db34b363a42b8d556.tar.bz2
ebuild-mode-9bcbf85e4a48214ed79f951db34b363a42b8d556.zip
No longer set NOCOLOR
* ebuild-mode.el (ebuild-mode-process-environment): No longer set NOCOLOR, because NO_COLOR is supported by stable Portage. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ChangeLog3
-rw-r--r--ebuild-mode.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c154834..13022f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2023-08-24 Ulrich Müller <ulm@gentoo.org>
+ * ebuild-mode.el (ebuild-mode-process-environment): No longer set
+ NOCOLOR, because NO_COLOR is supported by stable Portage.
+
* ebuild-mode.el (ebuild-mode): Refer to sh-mode directly,
instead of shell-script-mode which is its alias.
(sh-must-be-shell-mode): Test for its existence, rather than
diff --git a/ebuild-mode.el b/ebuild-mode.el
index 3724ebc..e031493 100644
--- a/ebuild-mode.el
+++ b/ebuild-mode.el
@@ -105,7 +105,7 @@ If nil, use two spaces."
(defcustom ebuild-mode-process-environment
(unless (fboundp 'ansi-color-compilation-filter)
- '("NO_COLOR=1" "NOCOLOR=true"))
+ '("NO_COLOR=1"))
"List of additional environment variables for subprocesses.
Each element should be a string of the form NAME=VALUE. This will
be prepended to `process-environment' when calling a subprocess."