Browse Source

Add complication colorize

master
10sr 6 years ago
parent
commit
a062577a15
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      emacs.el

+ 8
- 0
emacs.el View File

@@ -1552,4 +1552,12 @@ This mode is a simplified version of `adoc-mode'."
(buffer-substring-no-properties (point-min) (point-max))))
))


(require 'ansi-color)
(require 'compile)
(add-hook 'compilation-filter-hook
(lambda ()
(let ((inhibit-read-only t))
(ansi-color-apply-on-region compilation-filter-start
(point)))))
;;; emacs.el ends here

Loading…
Cancel
Save