[Emacs] Fix compilation buffer colorization

This commit is contained in:
Lucien Cartier-Tilet 2023-03-10 15:23:39 +01:00
parent 46fc2b62d2
commit 66c6ec5071
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3381,7 +3381,7 @@ compilation buffer, as well as enable some syntax highlighting.
(use-package compile (use-package compile
:defer t :defer t
:straight (compile :type built-in) :straight (compile :type built-in)
:hook (compilation-mode . colorize-compilation-buffer) :hook (compilation-filter . colorize-compilation-buffer)
:init :init
(require 'ansi-color) (require 'ansi-color)
(defun colorize-compilation-buffer () (defun colorize-compilation-buffer ()