From c8e9e9ec5733eef21376ede6ccc2d343ff031e9c Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Tue, 27 Jan 2026 00:28:15 +0800 Subject: [PATCH] disable color output in compilation-mode --- lisp/init-built-in.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/init-built-in.el b/lisp/init-built-in.el index cda8736..e57e476 100644 --- a/lisp/init-built-in.el +++ b/lisp/init-built-in.el @@ -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)