diff options
author | Leonardo Santiago <[email protected]> | 2024-10-11 10:17:28 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-10-11 10:17:28 -0300 |
commit | a7509293647e78949e2780d8359e1b3690682d3b (patch) | |
tree | 505853ddb473f564c36996daef15197ce2e27a2e /modules/emacs | |
parent | 16dda2a92d2f8e145f36bf609a5deb1b34feef32 (diff) |
fix compilation mode
Diffstat (limited to 'modules/emacs')
-rw-r--r-- | modules/emacs/README.org | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/emacs/README.org b/modules/emacs/README.org index bca3cc2..f4aafee 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -217,11 +217,8 @@ Completion popup system ** Compilation Add support for ansi escape codes in compilation #+begin_src emacs-lisp :tangle yes -(use-package xterm-color - :custom (compilation-environment '("TERM=xterm-256color"))) -(defun my/advice-compilation-filter (f proc string) - (funcall f proc (xterm-color-filter string))) -(add-hook 'compilation-filter-hook #'my/advice-compilation-filter) +(use-package ansi-color + :hook (compilation-filter . ansi-color-compilation-filter)) #+end_src ** Pdf reader |