about summary refs log tree commit diff stats
path: root/arc/mu.arc.t
diff options
context:
space:
mode:
Diffstat (limited to 'arc/mu.arc.t')
0 files changed, 0 insertions, 0 deletions
cs.d' href='/djm/dotfiles/commit/.emacs.d/lisp/init-compile.el?id=d0db5660caa836755ea8c99471d816484ea9e837'>d0db566 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24





                                                                                 












                                                                                       


                                         

                             
;;; init-compile.el --- Compilation Configuration File -*- lexical-binding: t -*-
;;; Commentary:
;; Based on code from prelude-editor.el
;;; Code:

(use-package compile
  :custom
  (compilation-ask-about-save nil)
  (compilation-always-kill t)
  (compilation-scroll-output 'first-error))

;; http://stackoverflow.com/a/3072831/355252
(use-package ansi-color
  :hook
  (compilation-filter . (lambda ()
                          (when (eq major-mode 'compilation-mode)
                            (let ((inhibit-read-only t))
                              (ansi-color-apply-on-region (point-min) (point-max)))))))

(use-package winnow
  :hook (compilation-mode . winnow-mode))

(provide 'init-compile)
;;; init-compile.el ends here