annotate .elisp/settings/99.compilation-ansi-color.el @ 416:eece3dcdd013

emacs: rustfmt on saving a rust file
author Augie Fackler <raf@durin42.com>
date Sun, 11 Sep 2016 15:41:57 -0400
parents c35759aceed4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
388
c35759aceed4 emacs: add a hook to handle ANSI colors in compilation buffers
Augie Fackler <raf@durin42.com>
parents:
diff changeset
1 ;;; handle ansi color output in compilation buffer
c35759aceed4 emacs: add a hook to handle ANSI colors in compilation buffers
Augie Fackler <raf@durin42.com>
parents:
diff changeset
2 (eval-after-load 'compile
c35759aceed4 emacs: add a hook to handle ANSI colors in compilation buffers
Augie Fackler <raf@durin42.com>
parents:
diff changeset
3 '(add-hook 'compilation-filter-hook
c35759aceed4 emacs: add a hook to handle ANSI colors in compilation buffers
Augie Fackler <raf@durin42.com>
parents:
diff changeset
4 (lambda () (ansi-color-process-output nil))))