Skip to content

Commit

Permalink
Add hook 'ansi-color-compilation-filter
Browse files Browse the repository at this point in the history
This fixes printing of ANSI escape sequences in compilation outputs.
This requires Emacs 28.1.
  • Loading branch information
MartyO256 committed Aug 14, 2023
1 parent addc449 commit addf92f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/beluga-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
(eval-when-compile (require 'cl-lib))
(require 'smie)

(require 'ansi-color)
(add-hook 'compilation-filter-hook 'ansi-color-compilation-filter)

(provide 'beluga-unicode-input-method)
(require 'quail)

Expand Down

0 comments on commit addf92f

Please sign in to comment.