mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
refactor(lib): remove doom-apply-ansi-color-to-compilation-buffer-h
Is redundant with ansi-color-compilation-filter.
Ref: aec4fbe590
This commit is contained in:
@@ -333,8 +333,8 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
||||
(setq compilation-always-kill t ; kill compilation process before starting another
|
||||
compilation-ask-about-save nil ; save all buffers on `compile'
|
||||
compilation-scroll-output 'first-error)
|
||||
;; Handle ansi codes in compilation buffer
|
||||
(add-hook 'compilation-filter-hook #'doom-apply-ansi-color-to-compilation-buffer-h)
|
||||
;; Handle ansi codes in compilation buffers
|
||||
(add-hook 'compilation-filter-hook #'ansi-color-compilation-filter)
|
||||
;; Automatically truncate compilation buffers so they don't accumulate too
|
||||
;; much data and bog down the rest of Emacs.
|
||||
(autoload 'comint-truncate-buffer "comint" nil t)
|
||||
|
Reference in New Issue
Block a user