mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
Turns out there was a real function for this
This commit is contained in:
parent
546a6ef9ce
commit
cab634d3fc
1 changed files with 1 additions and 4 deletions
|
|
@ -162,10 +162,7 @@
|
||||||
* colorful compilation buffer
|
* colorful compilation buffer
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(require 'ansi-color)
|
(require 'ansi-color)
|
||||||
(defun colorize-compilation-buffer ()
|
(add-hook 'compilation-filter-hook 'ansi-color-compilation-filter)
|
||||||
(let ((buffer-read-only nil))
|
|
||||||
(ansi-color-apply-on-region (point-min) (point-max))))
|
|
||||||
(add-hook 'compilation-filter-hook 'colorize-compilation-buffer)
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* World time
|
* World time
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue