diff options
Diffstat (limited to 'modules/emacs/README.org')
-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 |