disable color output in compilation-mode

This commit is contained in:
zedhugh committed 2026-01-27 00:28:15 +08:00
1 parent adefd5cdc9
commit c8e9e9ec57
1 file changed
+4
+4
View File
@@ -120,5 +120,9 @@
(unless (featurep 'server) (require 'server))
(unless (server-running-p) (server-start))
;; disable color of `compilation-mode'
(with-eval-after-load 'compile
(add-to-list 'compilation-environment "NO_COLOR=1"))
(provide 'init-built-in)