Skip to content

Commit

Permalink
compile: Remove redundant custom compilation color filter
Browse files Browse the repository at this point in the history
  • Loading branch information
mohkale committed Sep 6, 2024
1 parent a67e353 commit efd7225
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -8186,17 +8186,6 @@ Welcome to my personal Emacs configuration 😎.
(when-let ((buf (next-error-find-buffer)))
(delete-windows-on buf)))

:autoload compilation-colorize+
:hook (compilation-filter . compilation-colorize+)
:preface (autoload 'ansi-color-apply-on-region "ansi-color")
:config
(defun compilation-colorize+ ()
"Colorize from `compilation-filter-start' to `point'.
Taken from [[https://emacs.stackexchange.com/a/38531][here]]."
(let ((inhibit-read-only t))
(ansi-color-apply-on-region
compilation-filter-start (point))))

:commands display-compilation-buffer+
:leader ("cb" 'display-compilation-buffer+)
:config
Expand Down

0 comments on commit efd7225

Please sign in to comment.