1
0
Fork 0

Show compilation buffers in side windows

This commit is contained in:
Tom Willemse 2019-09-08 17:18:12 -07:00
parent a8e05a6b48
commit b8f4185e08

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2019.0904.210405
;; Version: 2019.0908.171807
;; Package-Requires: (oni-shackle oni-alert)
;; This program is free software; you can redistribute it and/or modify
@ -60,10 +60,11 @@ status of the process."
(alert "Compilation finished succesfully")
(alert "Compilation finished with an error"))))
(add-to-list 'shackle-rules
'(compilation-mode :custom oni-compilation--maybe-dont-show-window
:fallback shackle-display-buffer
:other t :select t))
(add-to-list 'display-buffer-alist
'("\\`\\*compilation\\*\\'" display-buffer-in-side-window
(side . bottom)
(slot . 0)
(window-height . 0.33)))
(add-hook 'compilation-filter-hook
#'oni-compilation--ansi-color-for-compilation-filter)